Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
3 Besvarelser
6126 Visninger

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.

Avatar
Kassér

Same problem here

Bedste svar

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 

Avatar
Kassér

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)

Bedste svar

odoo.conf

proxy_mode = True

Rgds

Avatar
Kassér
Forfatter Bedste svar

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.

Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
1
jul. 19
3620
4
maj 16
6566
0
mar. 15
3946
0
jan. 25
1169
0
dec. 24
1714