[IMP] mrp : Improve the error message
bzr revid: mdi@tinyerp.com-20111117103737-iqzj2x7pggamm54q
This commit is contained in:
parent
0a2f3dff17
commit
403d9194c7
|
@ -491,7 +491,7 @@ class mrp_production(osv.osv):
|
|||
'company_id': lambda self, cr, uid, c: self.pool.get('res.company')._company_default_get(cr, uid, 'mrp.production', context=c),
|
||||
}
|
||||
_sql_constraints = [
|
||||
('name_uniq', 'unique(name, company_id)', 'Order Reference must be unique per Company!'),
|
||||
('name_uniq', 'unique(name, company_id)', 'Reference must be unique per Company!'),
|
||||
]
|
||||
_order = 'priority desc, date_planned asc';
|
||||
|
||||
|
|
Loading…
Reference in New Issue