Commit Graph

33 Commits

Author SHA1 Message Date
João Marques
aa72fdedf7 [FIX] base_comment_template: Filter domain correctly
1. Safe eval domain before checking if it is defined. This makes [] be "False" on the first check, and provides the proper use case for when the domain is empty
2. Use filtered_domain in record instead of a search in self. When on a compute, we are on a NewId context, so the search would always fail

TT29309
2024-05-03 09:51:54 -06:00
Víctor Martínez
fafb9fb574 [IMP] base_comment_template: Adapt to 14.0
[UPD] Update base_comment_template.pot

[UPD] README.rst

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: reporting-engine-14.0/reporting-engine-14.0-base_comment_template
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-14-0/reporting-engine-14-0-base_comment_template/
2024-05-03 09:51:54 -06:00
Pedro M. Baeza
010f33c696 [FIX] base_comment_template: Incorrect m2m column names + script + avoid FK constraint
- The name of the columns were swapped, so better to fix it for avoiding
  mistakes due to this.
- Migration script for detecting the condition and swap column names.
- On v12 > v13 migration, include JOINs for avoiding FK constraint,
  which `ON CONFLICT` clause doesn't protect.
2024-05-03 09:51:54 -06:00
Víctor Martínez
29842b1cb4 [IMP] base_comment_template: Refactor code and convert to Many2Many 2024-05-03 09:51:54 -06:00
Víctor Martínez
ea64cd2c88 [FIX] base_comment_template: Change domain in rule according to company 2024-05-03 09:51:54 -06:00
Víctor Martínez
6c63370cd8 [FIX] base_comment_template: Fix tests: test_company_general_template 2024-05-03 09:51:54 -06:00
Víctor Martínez
0d8cdef17b [IMP] base_comment_template: Add function to get_comment_template records 2024-05-03 09:51:54 -06:00
Carlos Roca
2dfe6cc99e [IMP] base_comment_template: Improved sentences on fields 2024-05-03 09:51:54 -06:00
teodoralexandru@nexterp.ro
f47b82118c [IMP] base_comment_template: Code refactorization 2024-05-03 09:51:54 -06:00
Mihai Fekete
9daf0f6237 [MIG] [13.0] Migrate base_comment_template from account_invoic_reporting. 2024-05-03 09:51:54 -06:00
Pierre Verkest
2b3dce57f2 [MIG] base_comment_template: Migration to 14.0 add unit test
[UPD] Update base_comment_template.pot

[UPD] README.rst
2024-05-03 09:51:54 -06:00
Pierre Verkest
fa2a677411 [IMP] base_comment_template: black, isort, prettier 2024-05-03 09:51:54 -06:00
Pedro M. Baeza
7f1701cc45 [MIG+FIX] base_comment_template: Fix migration scripts
As the field was not properly converted to property at 2.0.0, the script fails to do its
job when migrating from v11, so we need to adapt the scripts to this situation.
2024-05-03 09:51:54 -06:00
Jan Prokop
c2fa5ebe37 Translated using Weblate (Slovak)
Currently translated at 100.0% (21 of 21 strings)

Translation: account-invoice-reporting-12.0/account-invoice-reporting-12.0-base_comment_template
Translate-URL: https://translation.odoo-community.org/projects/account-invoice-reporting-12-0/account-invoice-reporting-12-0-base_comment_template/sk/

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-invoice-reporting-12.0/account-invoice-reporting-12.0-base_comment_template
Translate-URL: https://translation.odoo-community.org/projects/account-invoice-reporting-12-0/account-invoice-reporting-12-0-base_comment_template/
2024-05-03 09:51:54 -06:00
Pedro Castro Silva
61f9bfa37c Translated using Weblate (Portuguese (Portugal))
Currently translated at 100.0% (21 of 21 strings)

Translation: account-invoice-reporting-12.0/account-invoice-reporting-12.0-base_comment_template
Translate-URL: https://translation.odoo-community.org/projects/account-invoice-reporting-12-0/account-invoice-reporting-12-0-base_comment_template/pt_PT/
2024-05-03 09:51:54 -06:00
Maria Sparenberg
e5ddb8e236 Translated using Weblate (German)
Currently translated at 100.0% (21 of 21 strings)

Translation: account-invoice-reporting-12.0/account-invoice-reporting-12.0-base_comment_template
Translate-URL: https://translation.odoo-community.org/projects/account-invoice-reporting-12-0/account-invoice-reporting-12-0-base_comment_template/de/
2024-05-03 09:51:54 -06:00
Pedro M. Baeza
c8af2bbb4a [FIX] base_comment_template: Make field truly company dependent
Previous field declaration was incorrect due to a typo, leading to non applying the
company dependent features.

Now everything is correct and the migration scripts care of moving data properly.
2024-05-03 09:51:54 -06:00
Pedro M. Baeza
0610dc32ab [FIX] base_comment_template: Make field truly company dependent
Previous field declaration was incorrect due to a typo, leading to non applying the
company dependent features.

Now everything is correct and the migration scripts care of moving data properly.
2024-05-03 09:51:54 -06:00
Bole
2f921f1b64 Translated using Weblate (Croatian)
Currently translated at 95.2% (20 of 21 strings)

Translation: account-invoice-reporting-12.0/account-invoice-reporting-12.0-base_comment_template
Translate-URL: https://translation.odoo-community.org/projects/account-invoice-reporting-12-0/account-invoice-reporting-12-0-base_comment_template/hr/
2024-05-03 09:51:54 -06:00
Pedro Castro Silva
fd2fb11d0b Translated using Weblate (Portuguese)
Currently translated at 100.0% (21 of 21 strings)

Translation: account-invoice-reporting-12.0/account-invoice-reporting-12.0-base_comment_template
Translate-URL: https://translation.odoo-community.org/projects/account-invoice-reporting-12-0/account-invoice-reporting-12-0-base_comment_template/pt/
2024-05-03 09:51:54 -06:00
Rodrigo Macedo
e99426328b Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (21 of 21 strings)

Translation: account-invoice-reporting-12.0/account-invoice-reporting-12.0-base_comment_template
Translate-URL: https://translation.odoo-community.org/projects/account-invoice-reporting-12-0/account-invoice-reporting-12-0-base_comment_template/pt_BR/
2024-05-03 09:51:54 -06:00
Ivan Todorovich
02af0d6141 [MOV] migration script to base_comment_template
[UPD] README.rst

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-invoice-reporting-12.0/account-invoice-reporting-12.0-base_comment_template
Translate-URL: https://translation.odoo-community.org/projects/account-invoice-reporting-12-0/account-invoice-reporting-12-0-base_comment_template/
2024-05-03 09:51:54 -06:00
Ivan Todorovich
d35307e174 [IMP] account_invoice_comment_template: Move comment_template_id field to the Invoicing tab
[IMP] account_invoice_comment_template: rename partner field name from comment_template_id to invoice_comment_template_id

[IMP] account_invoice_comment_template: Make partner field company_dependant and move domain definition of invoice fields from the view to the model

[MOV] account_invoice_comment_template: comment_template_id to base_comment_template

[IMP] account_invoice_comment_template: Translate templates when partner changes
2024-05-03 09:51:54 -06:00
Ivan Todorovich
1324c5826f [IMP] base_comment_template multi company rules
[IMP] Move comment_template_id from account_invoice_comment_template and make it company_dependant

[IMP] base_comment_template: Add test
2024-05-03 09:51:54 -06:00
Rodrigo Macedo
4e960f362f Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (15 of 15 strings)

Translation: account-invoice-reporting-12.0/account-invoice-reporting-12.0-base_comment_template
Translate-URL: https://translation.odoo-community.org/projects/account-invoice-reporting-12-0/account-invoice-reporting-12-0-base_comment_template/pt_BR/
2024-05-03 09:51:54 -06:00
Pedro Castro Silva
33007a9e54 Translated using Weblate (Portuguese)
Currently translated at 100.0% (15 of 15 strings)

Translation: account-invoice-reporting-12.0/account-invoice-reporting-12.0-base_comment_template
Translate-URL: https://translation.odoo-community.org/projects/account-invoice-reporting-12-0/account-invoice-reporting-12-0-base_comment_template/pt/
2024-05-03 09:51:53 -06:00
Yoshi Tashiro
9180387d38 Translated using Weblate (Japanese)
Currently translated at 100.0% (15 of 15 strings)

Translation: account-invoice-reporting-12.0/account-invoice-reporting-12.0-base_comment_template
Translate-URL: https://translation.odoo-community.org/projects/account-invoice-reporting-12-0/account-invoice-reporting-12-0-base_comment_template/ja/
2024-05-03 09:51:53 -06:00
Marta Vázquez Rodríguez
c682bc4ce7 Translated using Weblate (Galician)
Currently translated at 100.0% (15 of 15 strings)

Translation: account-invoice-reporting-12.0/account-invoice-reporting-12.0-base_comment_template
Translate-URL: https://translation.odoo-community.org/projects/account-invoice-reporting-12-0/account-invoice-reporting-12-0-base_comment_template/gl/

[ADD] icon.png
2024-05-03 09:51:53 -06:00
Raf Ven
b984c11665 [MIG] base_comment_template: Migration to 12.0 2024-05-03 09:51:53 -06:00
xavierjimenez
ad18d1d5ca [MIG] base_comment_template: Migration to 11.0
OCA Transbot updated translations from Transifex

OCA Transbot updated translations from Transifex

OCA Transbot updated translations from Transifex
2024-05-03 09:51:53 -06:00
Cedric Le Brouster
f603b9f02b [MIG] base_comment_template, invoice_comment_template: Migration to 10.0
Port modules base_comment_template and invoice_comment_template to V10
2024-05-03 09:51:53 -06:00
leNeo
cb8d66fac6 [MIG] base_comment_template to 9.0 2024-05-03 09:51:53 -06:00
Guewen Baconnier
edb98aecfc Rename base_condition_template to base_comment_template 2024-05-03 09:51:53 -06:00