Commit Graph

8 Commits

Author SHA1 Message Date
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
Mihai Fekete
e2596e9c9b [MIG] [13.0] Migrate base_comment_template from account_invoic_reporting. 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
a68ef0ddc0 [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-10-18 11:50:12 +02:00
Pedro M. Baeza
b4b4b14160 [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: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
0d44d1d0d6 [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-10-18 11:50:11 +02:00