From d6d4ee018317c062797beb9e9b7168f63b260ad9 Mon Sep 17 00:00:00 2001 From: Richard Mathot Date: Wed, 3 Aug 2016 11:08:50 +0200 Subject: [PATCH] [REV] mrp: ce419242d0fdb3bbd290e1ad1fae4d6427a17152. Too unstable fix (requires module upgrade). Odoo 9 will keep its limit of 16 chars for mrp.bom's `code` field --- 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 352dcab18f8..aac2e725f96 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'), + 'code': fields.char('Reference', size=16), '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."),