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
[FIX] website: fix unable to enter edit mode on old browsers
Since commit [1], we added a selector using the ":has" pseudo-class in
the template that defines where "inner content" blocks can be dropped.
It is no longer possible to enter edit mode (a traceback occurs)
starting from Odoo version 18.0 and in browsers older than Chrome 112 or
Firefox 121.
This bug happens because the same selector, used by jQuery, combines
both the ":has" pseudo-class and the ":is" pseudo-class (this ":is"
pseudo-class was introduced into the same selector by commit [2]
starting from Odoo version 18.0). This is not compatible with the older
browsers mentioned above.
The bug only appears in version 18. However, we already fixed this in
16.0 in case potential customizations had added the ":is" pseudo-class
to the same selector.
[1]: odoo@65a8500
[2]: odoo@e0fc837
opw-4494945
closesodoo#195095
X-original-commit: 9360142
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
0 commit comments