Commit Graph

20 Commits (03db79451dc18f9ffa1d2b0f5ee44643aa962372)

Author SHA1 Message Date
Víctor Martínez d9d2ef5b27 [FIX] base_comment_template: Add models text field to prevent error from ir.model model
TT40209
2022-11-30 16:59:53 +01:00
Víctor Martínez dd174895f7 [MIG] base_comment_template: Migration to 15.0
TT35696
2022-10-18 11:50:12 +02:00
Jesús Alan Ramos Rodríguez 36ae90bd37 [MIG] base_comment_template: Migration to 15.0 2022-10-18 11:50:12 +02:00
Mihai Fekete 43942066d8 [14.0] [FIX] Fix base comment template rendering.
[UPD] Update base_comment_template.pot

[UPD] README.rst

base_comment_template 14.0.3.0.0

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/
2022-10-18 11:50:12 +02:00
João Marques 9f1bd86334 [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
2022-10-18 11:50:12 +02:00
Víctor Martínez 6dc6322f2d [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/
2022-10-18 11:50:12 +02:00
Pedro M. Baeza 42d29d64ed [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.
2022-10-18 11:50:12 +02:00
Víctor Martínez 3442072bef [IMP] base_comment_template: Refactor code and convert to Many2Many 2022-10-18 11:50:12 +02:00
Víctor Martínez 02f5d5f570 [IMP] base_comment_template: Add function to get_comment_template records 2022-10-18 11:50:12 +02:00
Carlos Roca 646f4780f2 [IMP] base_comment_template: Improved sentences on fields 2022-10-18 11:50:12 +02:00
teodoralexandru@nexterp.ro 76db7b12ad [IMP] base_comment_template: Code refactorization 2022-10-18 11:50:12 +02:00
Mihai Fekete e2596e9c9b [MIG] [13.0] Migrate base_comment_template from account_invoic_reporting. 2022-10-18 11:50:12 +02:00
Pierre Verkest 9fb52a9512 [MIG] base_comment_template: Migration to 14.0 add unit test
[UPD] Update base_comment_template.pot

[UPD] README.rst
2022-10-18 11:50:12 +02:00
Pierre Verkest 658003587b [IMP] base_comment_template: black, isort, prettier 2022-10-18 11:50:12 +02:00
Pedro M. Baeza 93db34a1f7 [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.
2022-10-18 11:50:11 +02:00
Ivan Todorovich 9bb954ef8a [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
2022-10-18 11:50:11 +02:00
Raf Ven f36cd66aa8 [MIG] base_comment_template: Migration to 12.0 2022-10-18 11:50:11 +02:00
xavierjimenez 49a576f36a [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
2022-10-18 11:50:11 +02:00
Cedric Le Brouster cef0aac0b8 [MIG] base_comment_template, invoice_comment_template: Migration to 10.0
Port modules base_comment_template and invoice_comment_template to V10
2022-10-18 11:50:11 +02:00
leNeo d69e8612da [MIG] base_comment_template to 9.0 2022-10-18 11:50:11 +02:00