Skip to Content

Contributors

Re: Odoo 12.0 Website rendering issues

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.


by Yann Papouin - 05:26 - 2 Dec 2020

Reference

  • Odoo 12.0 Website rendering issues
    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.


    by Yann Papouin - 05:06 - 2 Dec 2020