Use append to add cost_price value to migrate property
issue6641 review36471002
This commit is contained in:
1 parent
12de426222
commit
4239f79853
1 file changed
+1
-1
+1
-1
@@ -476,7 +476,7 @@ class ProductCostPrice(ModelSQL, CompanyValueMixin):
|
||||
@classmethod
|
||||
def _migrate_property(cls, field_names, value_names, fields):
|
||||
field_names.append('cost_price')
|
||||
value_names.extend('cost_price')
|
||||
value_names.append('cost_price')
|
||||
fields.append('company')
|
||||
migrate_property(
|
||||
'product.template', field_names, cls, value_names,
|
||||
|
||||
Reference in new issue
Block a user