From cbf6b507780b0be53c8889c7426568d28f0deeaf Mon Sep 17 00:00:00 2001 From: ?ngel ?lvarez Date: Tue, 27 Feb 2018 16:08:07 +0100 Subject: [PATCH] migration sale - sale_opportunity relation many2man to one2many with reference field --- config.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config.yml b/config.yml index 9e8427e..3b1bca0 100644 --- a/config.yml +++ b/config.yml @@ -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';