Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
3 Răspunsuri
6130 Vizualizări

Odoo version: 13.0-20200121 CE (Docker)


Issue:

After secondary language is added to Website module, when using primary language all web elements are working (menu bar) but once the secondary language is activated, the menu bar will only show company logo and blank menu. This is using nginx HTTPS-to-HTTP proxy.


Troubleshooting done:

nginx.conf have all the common X-Forwarded-For etc configured.

web.base.url parameter has been change to " https://website.name "


May I know your experience on this and how to resolve it? Thanks.

Imagine profil
Abandonează

Same problem here

Cel mai bun răspuns

The following steps will fix this issue,

1. On the website, goto Customize -> HTML/CSS/JS Editor.
2. Add the following line to Web Layout section

<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"/>

3. Save and the menus will start appearing while switching to the secondary language 

Imagine profil
Abandonează

Better option is to switch from Apache to Nginx. Follow the deployment guidelines provided at the link, https://www.odoo.com/documentation/13.0/setup/deploy.html

this worked for me, thanks!

That worked also for me, thanks (Odoo 14)

Cel mai bun răspuns

odoo.conf

proxy_mode = True

Rgds

Imagine profil
Abandonează
Autor Cel mai bun răspuns

After some caffeine and hair pulling, I *sort of* figured out on how to resolve this issue.

Yesterday I've updated my Odoo docker container, which made the issue worst. I only have 1 additional module, which is the web_responsive module and updating that via docker is not a walk in a park. Managed to upgrade that and made the "missing Menu Bar" issue on and off. Some uninstall / reinstall of modules later and I found out this will fix my issue:

Go to Apps > eCommerce > then do Upgrade

After that the web issue seems to be fixed. Now my web Menu Bar will show the secondary language if selected. The additional web_responsive module also works like a charm so I guess it will work on other additional module(s).

Now to give myself  a pat on the back, and a lunch treat.

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
iul. 19
3622
4
mai 16
6570
0
mar. 15
3946
0
ian. 25
1170
0
dec. 24
1714