[FIX] mrp: consumption required

This commit is contained in:
William Henrotin
2019-11-22 12:39:52 +00:00
parent 043d706784
commit 6b4f447de9
+2 -1
View File
@@ -70,7 +70,8 @@ class MrpBom(models.Model):
('flexible', 'Flexible')],
help="Defines if you can consume more or less components than the quantity defined on the BoM.",
default='strict',
string='Consumption'
string='Consumption',
required=True
)
@api.onchange('product_id')