Use append to add cost_price value to migrate property

issue6641
review36471002
This commit is contained in:
Sergi Almacellas Abellana committed 2017-07-14 11:49:59 +02:00
1 parent 12de426222
commit 4239f79853
1 file changed
+1 -1
+1 -1
View File
@@ -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,