From 5ba5bae22d9e42cb64a4a1a1d609d0a8a67f61b2 Mon Sep 17 00:00:00 2001 From: William Henrotin Date: Mon, 25 Jun 2018 11:12:34 +0200 Subject: [PATCH] [FIX] mrp: correct column name In the 'Produce' wizard showed on manufacturing order. The column lot_id had 'Lot' as label. This commit change it by 'Lot/Serial Number' --- addons/mrp/wizard/mrp_product_produce.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/mrp/wizard/mrp_product_produce.py b/addons/mrp/wizard/mrp_product_produce.py index afcfb7a78c1..6cd21a094f5 100644 --- a/addons/mrp/wizard/mrp_product_produce.py +++ b/addons/mrp/wizard/mrp_product_produce.py @@ -44,7 +44,7 @@ class MrpProductProduce(models.TransientModel): product_id = fields.Many2one('product.product', 'Product') product_qty = fields.Float(string='Quantity', digits=dp.get_precision('Product Unit of Measure'), required=True) product_uom_id = fields.Many2one('uom.uom', 'Unit of Measure') - lot_id = fields.Many2one('stock.production.lot', string='Lot') + lot_id = fields.Many2one('stock.production.lot', string='Lot/Serial Number') produce_line_ids = fields.One2many('mrp.product.produce.line', 'product_produce_id', string='Product to Track') product_tracking = fields.Selection(related="product_id.tracking") @@ -173,7 +173,7 @@ class MrpProductProduceLine(models.TransientModel): product_produce_id = fields.Many2one('mrp.product.produce') product_id = fields.Many2one('product.product', 'Product') product_tracking = fields.Selection(related="product_id.tracking") - lot_id = fields.Many2one('stock.production.lot', 'Lot') + lot_id = fields.Many2one('stock.production.lot', 'Lot/Serial Number') qty_to_consume = fields.Float('To Consume', digits=dp.get_precision('Product Unit of Measure')) product_uom_id = fields.Many2one('uom.uom', 'Unit of Measure') qty_done = fields.Float('Consumed')