From 49454df4fdaf6198ce7e957ef34bc24820a1c30b Mon Sep 17 00:00:00 2001 From: "Walid HANNICHE (waha)" Date: Tue, 15 Nov 2022 10:57:45 +0000 Subject: [PATCH] [FIX] website_event: display ticket description correctly Steps to reproduce: - create an event with a single ticket that has a description Bug: The default quantity on the website is set to 0 where it should be 1 Cause: On this commit[1] adding description to a single ticket was done by applying the multiple tickets layout but this also sets qty to 0 Fix: removed the condition and added the description to the single ticket opw-3018139 [1]:https://github.com/odoo/odoo/commit/9c4c953d004acaf916df348b670182b48b85d165 closes odoo/odoo#105819 X-original-commit: e9ab599113125bd55fdfd2e3d95f71f52e001660 Signed-off-by: Walid Hanniche (waha) --- .../views/event_templates_page_registration.xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/addons/website_event/views/event_templates_page_registration.xml b/addons/website_event/views/event_templates_page_registration.xml index e933b0cfb97..76df3dbca33 100644 --- a/addons/website_event/views/event_templates_page_registration.xml +++ b/addons/website_event/views/event_templates_page_registration.xml @@ -150,7 +150,7 @@
- +
Tickets
@@ -226,6 +226,10 @@ Registration + + +
+
Sales end on