Skip to Content
Menu
This question has been flagged
3 Replies
5175 Views

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
Discard

Same problem here

Best Answer

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
Discard

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)

Best Answer

odoo.conf

proxy_mode = True

Rgds

Avatar
Discard
Author Best Answer

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
Discard
Related Posts Replies Views Activity
1
Jul 19
2486
4
May 16
5411
0
Mar 15
2915
0
Dec 24
154
0
Nov 22
1423