Too unstable fix (requires module upgrade).

Odoo 9 will keep its limit of 16 chars for mrp.bom's
`code` field
This commit is contained in:
Richard Mathot
2016-08-03 11:08:50 +02:00
parent e401a0bbbb
commit d6d4ee0183
+1 -1
View File
@@ -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."),