diff --git a/addons/stock/models/stock_production_lot.py b/addons/stock/models/stock_production_lot.py index 462b79765ca..b5636776ae3 100644 --- a/addons/stock/models/stock_production_lot.py +++ b/addons/stock/models/stock_production_lot.py @@ -22,6 +22,7 @@ class ProductionLot(models.Model): related='product_id.uom_id', store=True, readonly=False) quant_ids = fields.One2many('stock.quant', 'lot_id', 'Quants', readonly=True) product_qty = fields.Float('Quantity', compute='_product_qty') + note = fields.Html(string='Description') _sql_constraints = [ ('name_ref_uniq', 'unique (name, product_id)', 'The combination of serial number and product must be unique !'), diff --git a/addons/stock/views/stock_production_lot_views.xml b/addons/stock/views/stock_production_lot_views.xml index a523ce0ff4b..2d813e23a1d 100644 --- a/addons/stock/views/stock_production_lot_views.xml +++ b/addons/stock/views/stock_production_lot_views.xml @@ -34,6 +34,11 @@ + + + + +