<?xml version="1.0"?>
<form string="Views">
                  <sheet>
                    <group>
                        <group>
                            <field name="name"/>
                            <field name="type"/>
                            <field name="model_id"/>
                            <field name="priority"/>
                            <field name="active" widget="boolean_toggle"/>
                        </group>
                        <group groups="base.group_no_one">
                            <field name="inherit_id"/>
                            <field name="mode"/>
                            <field name="model_data_id"/>
                            <field name="xml_id" class="text-break"/>
                        </group>
                    </group>
                    <div class="oe_edit_only alert alert-info" role="alert">
                        Be aware that editing the architecture of a standard view is not advised, since the changes will be overwritten during future module updates.<br/>
                        We recommend applying modifications to standard views through inherited views or customization with Odoo Studio.
                    </div>
                    <div class="alert alert-warning" role="alert" invisible="not warning_info">
                        <field name="warning_info"/>
                    </div>
                    <notebook>
                        <page string="Architecture" name="architecture">
                            <field name="arch_db" class="oe_edit_only oe_no_translation_content"/>
                            <field name="arch_base" string="View Architecture" widget="code" options="{'mode': 'xml'}" required="1"/>
                        </page>
                        <page string="Access Rights" name="access_rights">
                            <field name="groups_id"/>
                        </page>
                        <page name="inherit_children" string="Inherited Views">
                            <field name="inherit_children_ids" context="{'default_model':model,'default_type':type,'default_inherit_id':id,'default_mode':'extension', 'active_test': False}">
                                <list default_order="priority,id" decoration-muted="not active">
                                    <field name="id"/>
                                    <field name="priority"/>
                                    <field name="name"/>
                                    <field name="xml_id"/>
                                    <field name="active" invisible="1"/>
                                    <!-- Manually add active here. Otherwise that field will be readonly for the sub-list,
                                    preventing saving changes done from a widget in the sub-form -->
                                </list>
                            </field>
                        </page>
                    </notebook>
                  </sheet>
                </form>
            