diff --git a/templates/event_registration_template.xml b/templates/event_registration_template.xml index c2663b5963b69297fdd9ee8c52fe112c54d6edac..a9e6e13903cd4bb2bb91cdabaf19d42a6cd38d86 100644 --- a/templates/event_registration_template.xml +++ b/templates/event_registration_template.xml @@ -189,10 +189,7 @@ name="t-if" >request.env.user._is_public() or counter > 1</attribute> </xpath> - <!-- - in case question_ids are defined, user is connected and we are registering for - the first ticket, question_ids are displayed - --> + <xpath expr="//t[@name='attendee_loop']//*[hasclass('modal-body')]/div[hasclass('row')]" position="after" @@ -216,5 +213,20 @@ </xpath> </template> + <template + id="registration_attendee_details_questions_solagro" + inherit_id="website_event_questions.registration_attendee_details_questions" + name="Registration Attendee Contact detail with questions Solagro" + priority="101" + > + <xpath + expr="//t[@name='attendee_loop']//*[hasclass('modal-body')]/div[hasclass('row')]" + position="before" + > + <xpath expr="//t[@t-if='event.specific_question_ids']" position="move" /> + </xpath> + + </template> + </odoo>