You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<htmlt-att-lang="lang and lang.replace('_', '-')"t-att-data-website-id="website.id if editable and website else None"t-att-data-editable="'1' if editable else None"t-att-data-translatable="'1' if translatable else None"t-att-data-view-xmlid="xmlid if editable else None"t-att-data-main-object="repr(main_object) if editable else None"t-att-data-oe-company-name="res_company.name">
In this line the data attribute website-id is not set if the user has no edit rights on the website
this causes the javascript translations to not be loaded according to:
odoo-extra/website_multi/demo/template.xml
Line 80 in cf7da98
In this line the data attribute website-id is not set if the user has no edit rights on the website
this causes the javascript translations to not be loaded according to:
https://github.com/odoo/odoo/blob/4365ebc19c3febb3a47a50745c13729701b8714d/addons/website/static/src/js/website.js#L306
Is there a reason the website id is hidden?
According to a colleague v9 is also affected by this issue
The text was updated successfully, but these errors were encountered: