From 01d35051c014a8df08b4178dd9ffff0c5270657e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Warnon?= Date: Fri, 11 Sep 2020 08:53:36 +0000 Subject: [PATCH] [FIX] website_event_track_exhibitor: fix ribbon style in exhibitor page This commit fixes the style of the ribbon displayed in the exhibitor dedicated page to use the newly introduced display_ribbon_style field on the event.sponsor.type model instead of the sponsor type name (previous implementation). Task 2336247 closes odoo/odoo#58652 X-original-commit: ef38eda84025f0bd7aad2b12d60a5618a280bf19 Signed-off-by: awa-odoo --- .../views/event_exhibitor_templates_page.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/website_event_track_exhibitor/views/event_exhibitor_templates_page.xml b/addons/website_event_track_exhibitor/views/event_exhibitor_templates_page.xml index 907c60b9c64..bf8b4664329 100644 --- a/addons/website_event_track_exhibitor/views/event_exhibitor_templates_page.xml +++ b/addons/website_event_track_exhibitor/views/event_exhibitor_templates_page.xml @@ -94,7 +94,7 @@
+ t-field="sponsor.sponsor_type_id" t-attf-class="o_ribbon o_ribbon_right ribbon_#{sponsor.sponsor_type_id.display_ribbon_style}"/>