Tuesday, June 20, 2023
1 change · master
Resolved issues and error corrections
Fixed an issue where embedded live chat could show a browser error when used on a website hosted outside Odoo. This makes the live chat widget load more reliably for visitors on external sites.
Original PR description
Before this commit, starting a page with the livechat embed in another origin than Odoo would have resulted in an CORS error being shown due to the `bootstrap_translation` route being called in response to the legacy `web.session` setup. The legacy session is not used in the embed livechat. This commit replaces it in order to prevent useless translations fetch.