QS5ELkMu
7 years ago
committed by
Jairo Llopis
No known key found for this signature in database
GPG Key ID: 59564BF1E22F314F
1 changed files with
2 additions and
2 deletions
-
web_responsive/models/inherited_res_users.py
|
@ -8,8 +8,8 @@ class ResUsers(models.Model): |
|
|
_inherit = 'res.users' |
|
|
_inherit = 'res.users' |
|
|
|
|
|
|
|
|
def __init__(self, pool, cr): |
|
|
def __init__(self, pool, cr): |
|
|
""" Override of __init__ to add access rights on notification_email_send |
|
|
|
|
|
and alias fields. Access rights are disabled by default, but allowed |
|
|
|
|
|
|
|
|
""" Override of __init__ to add access rights. |
|
|
|
|
|
Access rights are disabled by default, but allowed |
|
|
on some specific fields defined in self.SELF_{READ/WRITE}ABLE_FIELDS. |
|
|
on some specific fields defined in self.SELF_{READ/WRITE}ABLE_FIELDS. |
|
|
""" |
|
|
""" |
|
|
init_res = super(ResUsers, self).__init__(pool, cr) |
|
|
init_res = super(ResUsers, self).__init__(pool, cr) |
|
|