-
- Downloads
[FIX] mail_plugin: fix access error when enriching some partners
Bug === When we enrich a partner we don't have access to, it will try to read it, but because of the ACL if will crash. To fix that issue, we don't return the partner if we can't access it and we show an error message in the UI instead of letting it crash. Task-3344536 closes odoo/odoo#134875 X-original-commit: a0290a9d Signed-off-by:Thibault Delavallee (tde) <tde@openerp.com>
Showing
- addons/mail_plugin/controllers/authenticate.py 3 additions, 0 deletionsaddons/mail_plugin/controllers/authenticate.py
- addons/mail_plugin/controllers/mail_plugin.py 7 additions, 2 deletionsaddons/mail_plugin/controllers/mail_plugin.py
- addons/mail_plugin/i18n/mail_plugin.pot 6 additions, 0 deletionsaddons/mail_plugin/i18n/mail_plugin.pot
- addons/mail_plugin/tests/test_controller.py 34 additions, 0 deletionsaddons/mail_plugin/tests/test_controller.py
Please register or sign in to comment