Commit Graph

9 Commits (03b4657f53115d40ea0142e204bafb273147e5e6)

Author SHA1 Message Date
Pedro M. Baeza 5d73e93c19 [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.
2021-05-15 16:58:39 +02:00
Pedro M. Baeza 75ffd70cda [OU-FIX] base_comment_template: Do on post + avoid conflicts 2021-05-15 15:45:19 +02:00
Pedro M. Baeza 7bd19249bc [OU-d] 2021-05-15 15:45:09 +02:00
Víctor Martínez 49a6955303 [IMP] base_comment_template: Refactor code and convert to Many2Many 2021-05-04 08:04:32 +02:00
Carlos Roca c021cae969 [IMP] base_comment_template: Improved sentences on fields 2021-02-10 10:14:37 +01:00
Mihai Fekete a7d9d189c4 [MIG] [13.0] Migrate base_comment_template from account_invoic_reporting. 2021-02-09 09:06:00 +01:00
Mihai Fekete 01354d0498 [IMP] base_comment_template: black, isort, prettier 2021-02-09 09:06:00 +01:00
Pedro M. Baeza 3a99194ede [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.
2021-02-09 09:06:00 +01:00
Ivan Todorovich 91c38cb852 [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
2021-02-09 09:06:00 +01:00