mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[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.
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
"name": "Base Comments Templates",
|
||||
"summary": "Add conditional mako template to any report "
|
||||
"on models that inherits comment.template.",
|
||||
"version": "13.0.2.0.0",
|
||||
"version": "13.0.3.0.0",
|
||||
"category": "Reporting",
|
||||
"website": "https://github.com/OCA/reporting-engine",
|
||||
"author": "Camptocamp, Odoo Community Association (OCA)",
|
||||
|
||||
Reference in New Issue
Block a user