mirror of
https://github.com/NaN-tic/tryton-upgrades.git
synced 2023-12-14 03:32:55 +01:00
migration sale - sale_opportunity relation many2man to one2many with reference field
This commit is contained in:
parent
b440801c50
commit
cbf6b50778
1 changed files with 3 additions and 0 deletions
|
@ -265,6 +265,9 @@ after:
|
|||
version: 4.4
|
||||
query: DELETE FROM party_configuration_party_sequence where id = 2;
|
||||
|
||||
- comment: # migration from sale_opportunity module to core.
|
||||
query: update sale_sale s set origin = 'sale.opportunity,'|| o.opportunity from opportunity_sale_rel o where s.id = o.sale
|
||||
|
||||
# - comment: # delete ir properties
|
||||
# version: 4.4
|
||||
# query: DELETE FROM ir_model_data WHERE model = 'ir.property';
|
||||
|
|
Loading…
Reference in a new issue