Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odpovědi
6122 Zobrazení

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
Zrušit

Same problem here

Nejlepší odpověď

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
Zrušit

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)

Nejlepší odpověď

odoo.conf

proxy_mode = True

Rgds

Avatar
Zrušit
Autor Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
čvc 19
3619
4
kvě 16
6566
0
bře 15
3944
0
led 25
1169
0
pro 24
1714