[IMP] stock : Improve the error message
bzr revid: mdi@tinyerp.com-20111117064409-3uxjcbd5g1y7jmrm
This commit is contained in:
@@ -662,7 +662,7 @@ class stock_picking(osv.osv):
|
||||
'company_id': lambda self, cr, uid, c: self.pool.get('res.company')._company_default_get(cr, uid, 'stock.picking', 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!'),
|
||||
]
|
||||
|
||||
def action_process(self, cr, uid, ids, context=None):
|
||||
|
||||
Reference in New Issue
Block a user