Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: Odoo 12.0 Website rendering issues

by
DEC, Yann Papouin
- 02/12/2020 17:24:37
Ok found the culprit: website_lazy_load_image

When installed, the <!DOCTYPE html> is no more set as a header.
Removing the module fixes the issue.

Cordialement,
Yann Papouin.


Le mer. 2 déc. 2020 à 17:02, Yann Papouin <y.papouin@dec-industrie.com> a écrit :
Hi,

I'm currently scratching my head to find out why our website have a different rendering when viewed as an anonymous user versus a logged user.

When hitting the first table node as a logged user:
image.png
An the same node as anonymous
image.png
The quirk.css is an old firefox builtin css to fix some rendering issues but I don't understand why it is spawning there, overriding Odoo's bootstrap css.
Note that I can observe the same issue on Chrome.

I found on Google that putting this meta should disable quirk mode, but this meta already exists in both renderings:
 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
Any ideas ?

Cordialement,
Yann Papouin.

Reference