From ce419242d0fdb3bbd290e1ad1fae4d6427a17152 Mon Sep 17 00:00:00 2001 From: Goffin Simon Date: Thu, 28 Jul 2016 15:27:59 +0200 Subject: [PATCH] [FIX] mrp: useless size for field code on mrp.bom The size of 16 characters for the field size on mrp.bom is useless. opw:684441 --- addons/mrp/mrp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/mrp/mrp.py b/addons/mrp/mrp.py index aac2e725f96..352dcab18f8 100644 --- a/addons/mrp/mrp.py +++ b/addons/mrp/mrp.py @@ -150,7 +150,7 @@ class mrp_bom(osv.osv): _inherit = ['mail.thread'] _columns = { - 'code': fields.char('Reference', size=16), + 'code': fields.char('Reference'), 'active': fields.boolean('Active', help="If the active field is set to False, it will allow you to hide the bills of material without removing it."), 'type': fields.selection([('normal','Manufacture this product'),('phantom','Ship this product as a set of components (kit)')], 'BoM Type', required=True, help= "Set: When processing a sales order for this product, the delivery order will contain the raw materials, instead of the finished product."),