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, based on the company_id of the record, the user will be redirected
to the record having the right company ticked.
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, based on the company_id of the record, the user will be redirected to the record having the right company ticked.
Task-2541205
COM-PR: odoo/odoo#71318 ENT-PR: odoo/enterprise#18557