diff options
| author | Goffin Simon <sig@odoo.com> | 2016-07-28 15:27:59 +0200 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2016-08-02 09:16:25 +0200 |
| commit | ce419242d0fdb3bbd290e1ad1fae4d6427a17152 (patch) | |
| tree | 03c872d99281839028d05312c0ff44ca82fb7c56 /addons | |
| parent | ecf9613ee50edf2aaa866649f16f4264aa50df5f (diff) | |
[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
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/mrp/mrp.py | 2 |
1 files changed, 1 insertions, 1 deletions
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."), |
