diff options
| author | Olivier Dony <odo@openerp.com> | 2017-06-15 16:23:44 +0200 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2017-06-15 16:23:44 +0200 |
| commit | 16714a7e71da91382bb111fad32282a65205dffd (patch) | |
| tree | 3b04706ea80c08b9a592493f0bf99d0cf501bf3c /addons/auth_oauth/models/res_users.py | |
| parent | eaa3682bb609dc69a5499f2c223da479d0d9697b (diff) | |
[FIX] auth_oauth: correctly register token field
Diffstat (limited to 'addons/auth_oauth/models/res_users.py')
| -rw-r--r-- | addons/auth_oauth/models/res_users.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/addons/auth_oauth/models/res_users.py b/addons/auth_oauth/models/res_users.py index f48802c2310..b10f19a28be 100644 --- a/addons/auth_oauth/models/res_users.py +++ b/addons/auth_oauth/models/res_users.py @@ -10,6 +10,8 @@ from odoo import api, fields, models from odoo.exceptions import AccessDenied from odoo.addons.auth_signup.models.res_users import SignupError +from odoo.addons import base +base.res.res_users.USER_PRIVATE_FIELDS.append('oauth_access_token') class ResUsers(models.Model): _inherit = 'res.users' |
