Files
odoo_source/addons/google_calendar/security/ir.model.access.csv
T
Arnaud Joset 4196ea9dc2 [FIX] google_calendar: prevent traceback when resetting the google tokens from the reset account wizard
Before this commit, the account reset would fail with the following traceback:

```py
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/odoo/src/odoo/15.0/odoo/http.py", line 643, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/home/odoo/src/odoo/15.0/odoo/http.py", line 301, in _handle_exception
raise exception.with_traceback(None) from new_cause
AttributeError: 'res.users' object has no attribute '_set_auth_tokens'
```

This commit allows to use the wizard.

opw-2705169

closes odoo/odoo#80918

X-original-commit: 9f2aa5c87a9809899cba872e6a0428f86c687b9a
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Signed-off-by: Arnaud Joset <arj@odoo.com>
2021-12-06 16:49:24 +00:00

519 B

1idnamemodel_id:idgroup_id:idperm_readperm_writeperm_createperm_unlink
2google_calendar_account_resetgoogle_calendar_account_reset_access_rightmodel_google_calendar_account_resetbase.group_system1110
3google_calendar.access_google_calendar_credentialsaccess_google_calendar_credentialsgoogle_calendar.model_google_calendar_credentialsbase.group_user1000
4google_calendar_manageraccess_google_calendar_credentials_managergoogle_calendar.model_google_calendar_credentialsbase.group_system1100