From d0581af01397663e4cabf1b6c035ae6308b24927 Mon Sep 17 00:00:00 2001 From: Telmo Santos Date: Fri, 23 Oct 2020 10:40:51 +0200 Subject: [PATCH] [12.0] connector_office_365 fix user access token copy --- connector_office_365/models/res_users.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/connector_office_365/models/res_users.py b/connector_office_365/models/res_users.py index b0b2b9b7..b08dd0ad 100644 --- a/connector_office_365/models/res_users.py +++ b/connector_office_365/models/res_users.py @@ -30,9 +30,9 @@ def __init__(self, status, code, message): class ResUsers(models.Model): _inherit = 'res.users' - office_365_access_token = fields.Char() - office_365_refresh_token = fields.Char() - office_365_expiration = fields.Datetime() + office_365_access_token = fields.Char(copy=False) + office_365_refresh_token = fields.Char(copy=False) + office_365_expiration = fields.Datetime(copy=False) def __init__(self, pool, cr): super(ResUsers, self).__init__(pool, cr)