From 23e1c91825968a172e3a2777d32717b7bc35fc1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20-=20Le=20Filament?= <remi@le-filament.com> Date: Tue, 21 Jan 2025 16:55:15 +0100 Subject: [PATCH] [IMP] remove Free in registration page --- views/event_registration_template.xml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/views/event_registration_template.xml b/views/event_registration_template.xml index 47a2baf..187500c 100644 --- a/views/event_registration_template.xml +++ b/views/event_registration_template.xml @@ -1,6 +1,21 @@ <?xml version="1.0" encoding="utf-8" ?> <odoo> +<template + id="registration_event_template_no_free" + inherit_id="website_event_sale.registration_template" + name="registration template without free tickets displayed" + priority="101" + > + <xpath + expr="//div[hasclass('o_wevent_registration_multi_select')]//span[hasclass('fw-bold', 'text-uppercase')]" + position="replace" + /> + <xpath + expr="//div[hasclass('o_wevent_registration_single')]//span[hasclass('fw-bold', 'text-uppercase')]" + position="replace" + /> +</template> <template id="registration_event_question_with_max" inherit_id="website_event_questions.registration_event_question" -- GitLab