From b03e17be44ef1ef0d893887d5b539ae2c4281cbc Mon Sep 17 00:00:00 2001 From: "stefanorigano (SRI)" Date: Thu, 17 Apr 2025 16:03:37 +0200 Subject: [PATCH] [FIX] theme_odoo_experts: fix "references" snippet paddings The snippet was switched to grid mode in this theme but the padding classes on columns were not removed. Related to task-4373543 Part-of: odoo/design-themes#1054 Related: odoo/odoo#189299 Signed-off-by: Quentin Smetz (qsm) --- test_themes/tests/test_new_page_templates.py | 1 + theme_odoo_experts/views/snippets/s_references.xml | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/test_themes/tests/test_new_page_templates.py b/test_themes/tests/test_new_page_templates.py index 1ec104593..3e0c3e315 100644 --- a/test_themes/tests/test_new_page_templates.py +++ b/test_themes/tests/test_new_page_templates.py @@ -155,6 +155,7 @@ class TestNewPageTemplates(TransactionCase): self.assertGreater(len(view_ids), 1250, "Test should have encountered a lot of views") self.assertFalse(errors, "No error should have been collected") + # TODO should handle the fact that grid items can't have padding classes def test_render_applied_templates(self): View = self.env['ir.ui.view'] errors = [] diff --git a/theme_odoo_experts/views/snippets/s_references.xml b/theme_odoo_experts/views/snippets/s_references.xml index 090d5a7db..226f488bb 100644 --- a/theme_odoo_experts/views/snippets/s_references.xml +++ b/theme_odoo_experts/views/snippets/s_references.xml @@ -19,27 +19,27 @@ - + - + - + - + - + - +