[IMP] test_themes, theme_*: ensure that grid options are properly set

This commit adds a test that highlights mismatches in grid-related
options (classes, grid-area style...).

It also fixes the remaining issues in themes about it.

task-4213996

closes odoo/design-themes#969

Related: odoo/odoo#182029
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
Benoit Socias
2024-09-26 16:24:39 +02:00
committed by qsm-odoo
parent 04f90cd883
commit cf227cd139
3 changed files with 40 additions and 4 deletions
@@ -12,10 +12,6 @@
<xpath expr="//h2" position="replace" mode="inner">
DRIVING INNOVATION
</xpath>
<xpath expr="(//div[hasclass('o_grid_item')])[2]" position="attributes">
<attribute name="class" add="g-height-5" remove="g-height-6" separator=" "/>
<attribute name="style">grid-area: 9 / 6 / 14 / 13; z-index: 2;</attribute>
</xpath>
</template>
</odoo>