diff --git a/addons/mrp/models/mrp_unbuild.py b/addons/mrp/models/mrp_unbuild.py index 7ee94a3af71..e33e0dfbea5 100644 --- a/addons/mrp/models/mrp_unbuild.py +++ b/addons/mrp/models/mrp_unbuild.py @@ -37,18 +37,18 @@ class MrpUnbuild(models.Model): domain="[('product_id', '=', product_id), ('state', 'in', ['done', 'cancel'])]", states={'done': [('readonly', True)]}) lot_id = fields.Many2one( - 'stock.production.lot', 'Lot', + 'stock.production.lot', 'Lot/Serial Number', domain="[('product_id', '=', product_id)]", - states={'done': [('readonly', True)]}) + states={'done': [('readonly', True)]}, help="Lot/Serial Number of the product to unbuild.") has_tracking=fields.Selection(related='product_id.tracking', readonly=True) location_id = fields.Many2one( - 'stock.location', 'Location', + 'stock.location', 'Source Location', default=_get_default_location_id, - required=True, states={'done': [('readonly', True)]}) + required=True, states={'done': [('readonly', True)]}, help="Location where the product you want to unbuild is.") location_dest_id = fields.Many2one( 'stock.location', 'Destination Location', default=_get_default_location_dest_id, - required=True, states={'done': [('readonly', True)]}) + required=True, states={'done': [('readonly', True)]}, help="Location where you want to send the components resulting from the unbuild order.") consume_line_ids = fields.One2many( 'stock.move', 'consume_unbuild_id', readonly=True, string='Consumed Disassembly Lines') diff --git a/addons/mrp/views/mrp_unbuild_views.xml b/addons/mrp/views/mrp_unbuild_views.xml index e811e2a6140..58c1fb6014b 100644 --- a/addons/mrp/views/mrp_unbuild_views.xml +++ b/addons/mrp/views/mrp_unbuild_views.xml @@ -113,13 +113,13 @@ - + + ('type', '=', 'normal')]" attrs="{'readonly':[('mo_id','!=',False)]}" force_save="1"/>