This commit fixes the multi_company access error when the user is attempting to see a record belonging to another company then the one he is logged in to from the plugins, upon login, it returns all the company ids related to the user so that the plugin redirects the user to the record with all companies ticked. Task-2541205 closes odoo/odoo#72529 Plugin-pr: https://github.com/odoo/mail-client-extensions/pull/10 X-original-commit: 92972fa16920e070e533040439243a0257357aad Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>