Remove all records from ir_model_data related to the ir.property model.

This commit is contained in:
Albert Cervera i Areny 2019-07-09 18:28:07 +02:00
parent c4cecf8f14
commit 1e5db206d3
1 changed files with 3 additions and 3 deletions

View File

@ -564,9 +564,9 @@ after:
tables: electronic_mail_template
query: update ir_translation set value = regexp_replace(value, 'record.code', 'record.number', 'g') where res_id in (select id from electronic_mail_template where model in (select id from ir_model where model in ('account.invoice', 'sale.sale', 'purchase.purchase', 'stock.shipment.in', 'stock.shipment.out', 'stock.shipment.in'))) and name like 'electronic.mail.template,%';
# - comment: # After property migration old model data should be cleared:
# version: 4.4
# query: DELETE FROM ir_model_data WHERE model = 'ir.property';
- comment: # After property migration old model data should be cleared:
version: 4.4
query: DELETE FROM ir_model_data WHERE model = 'ir.property';
- comment: # Relation between purchase and invoice_lines must be deleted
version: 4.4