~openerp-dev/openobject-server/trunk-forward-port-mat

« back to all changes in this revision

Viewing changes to openerp/addons/base/res/res_users.py

  • Committer: Martin Trigaux
  • Date: 2014-05-12 08:05:23 UTC
  • mfrom: (5189.1.22 saas-4)
  • Revision ID: mat@openerp.com-20140512080523-t1ugjl53jfgohfde
Forward-port of latest saas-4, up to revision 5211 (revid fme@openerp.com-20140509164408-rtml4brrhpiv4zz9)

Show diffs side-by-side

added added

removed removed

Lines of Context:
99
99
    }
100
100
 
101
101
    _sql_constraints = [
102
 
        ('name_uniq', 'unique (category_id, name)', 'The name of the group must be unique !')
 
102
        ('name_uniq', 'unique (category_id, name)', 'The name of the group must be unique within an application!')
103
103
    ]
104
104
 
105
105
    def search(self, cr, uid, args, offset=0, limit=None, order=None, context=None, count=False):