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 @@