<?xml version="1.0"?>
<form string="Question">
                <sheet>
                    <h1 class="d-flex"><field name="title" placeholder="e.g. &quot;Do you have any diet restrictions?&quot;" class="flex-grow-1"/></h1>
                    <group>
                        <group>
                            <field name="is_mandatory_answer"/>
                            <field name="question_type" widget="radio"/>
                        </group>
                        <group>
                            <field name="once_per_order"/>
                        </group>
                    </group>
                    <notebook invisible="question_type != 'simple_choice'">
                        <page string="Answers" name="answers">
                            <field name="answer_ids">
                                <list editable="bottom">
                                    <!-- 'display_name' is necessary for the many2many_tags to work on the event view -->
                                    <field name="display_name" column_invisible="True"/>
                                    <field name="sequence" widget="handle"/>
                                    <field name="name"/>
                                </list>
                            </field>
                        </page>
                    </notebook>
                </sheet>
            </form>
        