<?xml version="1.0"?>
<form string="Event Category">
               <sheet>
                    <div class="oe_title" name="event_type_title">
                        <label for="name" string="Event Template"/>
                        <h1><field name="name" placeholder="e.g. Online Conferences" class="mb-2"/></h1>
                    </div>
                   <group>
                       <group>
                           <field name="default_timezone" class="w-100"/>
                           <field name="tag_ids" widget="many2many_tags" options="{'color_field': 'color', 'no_quick_create': True}"/>
                       </group>
                       <group>
                           <label for="has_seats_limitation" string="Limit Registrations"/>
                           <div>
                               <field name="has_seats_limitation"/>
                               <span invisible="not has_seats_limitation" required="not has_seats_limitation">
                                   to <field name="seats_max" class="oe_inline o_input_9ch"/>
                                   Attendees
                               </span>
                           </div>
                       </group>
                   </group>

                   <notebook>
                       <page string="Tickets" name="page_tickets">
                           <field name="event_type_ticket_ids" class="w-100" context="{                                      'list_view_ref': 'event.event_type_ticket_view_tree_from_type',                                      'form_view_ref': 'event.event_type_ticket_view_form_from_type'                                   }"/>
                       </page>
                       <page string="Communication" name="event_type_communication">
                           <field name="event_type_mail_ids" class="w-100">
                               <list string="Communication" editable="bottom">
                                   <field name="template_ref" options="{'no_quick_create': True}" context="{'filter_template_on_event': True, 'default_model': 'event.registration'}" widget="EventMailTemplateReferenceField"/>
                                   <field name="interval_nbr" readonly="interval_unit == 'now'"/>
                                   <field name="interval_unit"/>
                                    <field name="interval_type"/>
                               </list>
                           </field>
                       </page>
                        <page string="Questions" name="page_questions">
                            <field name="question_ids" class="w-100">
                                <list sample="1">
                                    <field name="title"/>
                                    <field name="is_mandatory_answer" string="Mandatory"/>
                                    <field name="once_per_order" string="Once per Order"/>
                                    <field name="question_type"/>
                                    <field name="answer_ids" widget="many2many_tags"/>
                                </list>
                            </field>
                        </page>
                       <page string="Notes" name="notes">
                           <group>
                                <label for="note" string="Note"/>
                                <br/>
                                <field nolabel="1" colspan="2" name="note" placeholder="Add some internal notes (to do lists, contact info, ...)"/>
                                <label for="ticket_instructions" string="Ticket Instructions"/>
                                <br/>
                                <field nolabel="1" colspan="2" name="ticket_instructions" placeholder="e.g. How to get to your event, door closing time, ..."/>
                            </group>
                       </page>
                   </notebook>
                </sheet>
            </form>
        