<?xml version="1.0"?>
<form string="Website Menus Settings">
                    <sheet>
                        <group>
                            <group>
                                <field name="name"/>
                                <field name="url" readonly="page_id or is_mega_menu or child_id"/>
                                <field name="page_id"/>
                                <field name="controller_page_id"/>
                                <field name="is_mega_menu"/>
                            </group>
                            <group>
                                <field name="new_window" readonly="is_mega_menu or child_id"/>
                                <field name="sequence"/>
                                <field name="website_id" options="{'no_create': True}" groups="website.group_multi_website"/>
                            </group>
                            <group>
                                <field name="parent_id" context="{'display_website': True}"/>
                                <div colspan="2" class="oe_edit_only alert alert-info" role="alert">
                                    Note that the "Website / Editor and Designer" group is implicitly added when saving if any group is specified.
                                </div>
                                <field name="group_ids"/>
                            </group>
                        </group>
                        <label for="child_id" string="Child Menus"/>
                        <field name="child_id">
                            <list>
                                <field name="sequence" widget="handle"/>
                                <field name="name"/>
                                <field name="url"/>
                            </list>
                        </field>
                    </sheet>
                </form>
            