[IMP] res_group: more explicit constraint error message
bzr revid: rim@openerp.com-20140429071125-avjggwlmlozv7hz5
This commit is contained in:
parent
fdfcb6bf47
commit
f3b5913842
|
@ -94,7 +94,7 @@ class groups(osv.osv):
|
|||
}
|
||||
|
||||
_sql_constraints = [
|
||||
('name_uniq', 'unique (category_id, name)', 'The name of the group must be unique !')
|
||||
('name_uniq', 'unique (category_id, name)', 'The name of the group must be unique within an application!')
|
||||
]
|
||||
|
||||
def search(self, cr, uid, args, offset=0, limit=None, order=None, context=None, count=False):
|
||||
|
|
Loading…
Reference in New Issue