From a44a4e66ce48831e99061f847940239d98bb3f56 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 9 Jun 2023 22:01:44 +0200 Subject: [PATCH] #56 #58 --- static/js/booking.js | 7 +++++++ views/booking_website_registration.xml | 1 + views/event_templates_list.xml | 12 ++++++++++++ 3 files changed, 20 insertions(+) diff --git a/static/js/booking.js b/static/js/booking.js index dee079b..9ebaa02 100755 --- a/static/js/booking.js +++ b/static/js/booking.js @@ -337,6 +337,13 @@ odoo.define('booking.main', function (require) { $('#validation_message').show() + } + else if ($('#gender').val()=='') + { + $('#validation_message').text('merci de sélectionner le sexe du participant') + $('#validation_message').show() + + } else { diff --git a/views/booking_website_registration.xml b/views/booking_website_registration.xml index d374c83..04c1c92 100755 --- a/views/booking_website_registration.xml +++ b/views/booking_website_registration.xml @@ -272,6 +272,7 @@