diff --git a/addons/mrp/data/mrp_demo.xml b/addons/mrp/data/mrp_demo.xml index 8254a58b224..f46759e8f22 100644 --- a/addons/mrp/data/mrp_demo.xml +++ b/addons/mrp/data/mrp_demo.xml @@ -310,6 +310,7 @@ 2 + True 1 diff --git a/addons/mrp/models/mrp_bom.py b/addons/mrp/models/mrp_bom.py index bc0c0990aa8..823020766ef 100644 --- a/addons/mrp/models/mrp_bom.py +++ b/addons/mrp/models/mrp_bom.py @@ -455,7 +455,8 @@ class MrpBomLine(models.Model): attachments_count = fields.Integer('Attachments Count', compute='_compute_attachments_count') tracking = fields.Selection(related='product_id.tracking') manual_consumption = fields.Boolean( - 'Manual Consumption', default=False, compute='_compute_manual_consumption', store=True, copy=True, + 'Manual Consumption', default=False, compute='_compute_manual_consumption', + readonly=False, store=True, copy=True, help="When activated, then the registration of consumption for that component is recorded manually exclusively.\n" "If not activated, and any of the components consumption is edited manually on the manufacturing order, Odoo assumes manual consumption also.") manual_consumption_readonly = fields.Boolean(