[IMP] res_group: more explicit constraint error message

bzr revid: rim@openerp.com-20140429071125-avjggwlmlozv7hz5
This commit is contained in:
Richard Mathot (OpenERP) 2014-04-29 09:11:25 +02:00
parent fdfcb6bf47
commit f3b5913842
1 changed files with 1 additions and 1 deletions

View File

@ -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):