diff options
| author | Romeo Fragomeli <rfr@odoo.com> | 2020-08-13 15:23:10 +0000 |
|---|---|---|
| committer | Romeo Fragomeli <rfr@odoo.com> | 2020-08-14 09:55:14 +0000 |
| commit | 2dffd1c8f0f03eb73fc5878b53771f8c11939ceb (patch) | |
| tree | 66be46232e31d42fe9dceffc9e918547c1fbe892 /addons/web/static/src | |
| parent | 847a22823096c56e96b383a709c66e5c0d90699a (diff) | |
[FIX] website_event_track_online: PWA not working with multi-lang
Before this commit, the PWA didn't work when the language was specified
in the URL like in "/fr_FR/event".
Note that it worked fine for the default language.
The reason is that we were out of the scope.
After this commit, we build the scope dynamically depending on the
language entered in the URL.
Steps to reproduce:
- Configure a second lang to the website
- Go to website
- Choose another language than the default one. (e.g. "French - BE")
- Go to the event page
=> Bug due to /fr_BE in the URL
closes odoo/odoo#55924
X-original-commit: 27a3837df5ecb9a0eada49ceddecfa447be1833d
Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com>
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions
