summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Henrotin <whe@odoo.com>2018-06-25 11:12:34 +0200
committerWilliam Henrotin <whe@odoo.com>2018-06-25 11:12:34 +0200
commit5ba5bae22d9e42cb64a4a1a1d609d0a8a67f61b2 (patch)
treef26feeeccd9f1ea13f254090d72b23b83d5cff75
parent9de1bc0eef6f5bfaa2a8d745431caa361ae91548 (diff)
[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'
-rw-r--r--addons/mrp/wizard/mrp_product_produce.py4
1 files 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')