[IMP] res.users: missing _description
The unfortunate consequence was that models that inherited res.users *and* another parent (such as mail.thread) were assigned the _description of the other parent, because the copy of self._name to self._description only happens when the model instance is created, which happens much later than constructing the type hierarchy. bzr revid: odo@openerp.com-20120615134122-7q5tllzok3lcu50q
This commit is contained in:
parent
bed2f2f0e6
commit
5eaed9dbd4
|
@ -112,6 +112,7 @@ class users(osv.osv):
|
|||
__admin_ids = {}
|
||||
_uid_cache = {}
|
||||
_name = "res.users"
|
||||
_description = 'Users'
|
||||
_order = 'name'
|
||||
|
||||
WELCOME_MAIL_SUBJECT = u"Welcome to OpenERP"
|
||||
|
|
Loading…
Reference in New Issue