Commit Graph

12 Commits (cf79c3cf12e0c8549997cd2daf73bccd16fbb32a)

Author SHA1 Message Date
Víctor Martínez 87b6af456b [FIX] base_comment_template: Add models text field to prevent error from ir.model model
TT40209
2022-11-30 14:35:32 +01:00
Víctor Martínez 13b60177b7 [MIG] base_comment_template: Migration to 15.0
TT35696
2022-09-13 17:19:02 +02:00
Jesús Alan Ramos Rodríguez 3b50a7ab08 [MIG] base_comment_template: Migration to 15.0 2022-09-13 16:44:48 +02:00
Víctor Martínez 9a366d77d1 [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-09-13 16:44:40 +02:00
Pedro M. Baeza 8fdbcaf404 [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-09-13 16:44:40 +02:00
Víctor Martínez c646ae89dc [IMP] base_comment_template: Refactor code and convert to Many2Many 2022-09-13 16:44:40 +02:00
Mihai Fekete a68181d03a [MIG] [13.0] Migrate base_comment_template from account_invoic_reporting. 2022-09-13 16:44:40 +02:00
Pierre Verkest 744563b661 [IMP] base_comment_template: black, isort, prettier 2022-09-13 16:44:38 +02:00
Pedro M. Baeza f43d655c91 [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.
2022-09-13 16:44:38 +02:00
Pedro M. Baeza 04826fbf5d [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-09-13 16:44:37 +02:00
Pedro M. Baeza 78d335f033 [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-09-13 16:44:37 +02:00
Ivan Todorovich c591d1386d [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/
2022-09-13 16:44:35 +02:00