Commit Graph

14 Commits

Author SHA1 Message Date
Pedro M. Baeza
5ec7cc2ecd [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.
2025-01-08 15:49:14 +02:00
Víctor Martínez
fa57dc9e66 [IMP] base_comment_template: Refactor code and convert to Many2Many 2025-01-08 15:49:14 +02:00
Víctor Martínez
c718a99f6c [IMP] base_comment_template: Add function to get_comment_template records 2025-01-08 15:49:14 +02:00
Carlos Roca
46e4f82a4d [IMP] base_comment_template: Improved sentences on fields 2025-01-08 15:49:14 +02:00
teodoralexandru@nexterp.ro
611995a8e5 [IMP] base_comment_template: Code refactorization 2025-01-08 15:49:14 +02:00
Mihai Fekete
a465038d83 [MIG] [13.0] Migrate base_comment_template from account_invoic_reporting. 2025-01-08 15:49:14 +02:00
Pierre Verkest
325a5cc3ac [MIG] base_comment_template: Migration to 14.0 add unit test
[UPD] Update base_comment_template.pot

[UPD] README.rst
2025-01-08 15:49:14 +02:00
Pierre Verkest
4f08e9748a [IMP] base_comment_template: black, isort, prettier 2025-01-08 15:49:14 +02:00
Pedro M. Baeza
24ce902c91 [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.
2025-01-08 15:49:14 +02:00
Ivan Todorovich
7346e78c73 [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
2025-01-08 15:49:14 +02:00
Raf Ven
3d1284edbb [MIG] base_comment_template: Migration to 12.0 2025-01-08 15:49:14 +02:00
xavierjimenez
70ad0e6029 [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
2025-01-08 15:49:14 +02:00
Cedric Le Brouster
850e5005b6 [MIG] base_comment_template, invoice_comment_template: Migration to 10.0
Port modules base_comment_template and invoice_comment_template to V10
2025-01-08 15:49:14 +02:00
leNeo
7f235489c5 [MIG] base_comment_template to 9.0 2025-01-08 15:49:14 +02:00