Make required storage of product cost price

This commit is contained in:
Cédric Krier committed 2021-09-13 23:29:29 +02:00
1 parent f370a148db
commit ef4f512e78
1 file changed
+1 -1
+1 -1
View File
@@ -711,7 +711,7 @@ class ProductCostPrice(ModelSQL, CompanyValueMixin):
},
depends=['company'])
cost_price = fields.Numeric(
"Cost Price", digits=price_digits)
"Cost Price", required=True, digits=price_digits)
@classmethod
def __register__(cls, module_name):