Skip to content

Commit

Permalink
[IMP] res_group: more explicit constraint error message
Browse files Browse the repository at this point in the history
bzr revid: rim@openerp.com-20140429071125-avjggwlmlozv7hz5
  • Loading branch information
rim-odoo committed Apr 29, 2014
1 parent fdfcb6b commit f3b5913
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openerp/addons/base/res/res_users.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def _search_group(self, cr, uid, obj, name, args, context=None):
}

_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):
Expand Down

0 comments on commit f3b5913

Please sign in to comment.