<?xml version="1.0"?>
<form>
                    <sheet>
                        <h1><field name="name" placeholder="Privilege Name"/></h1>
                        <group>
                            <group>
                                <field name="sequence" groups="base.group_no_one"/>
                                <field name="category_id" invisible="'default_category_id' in context"/>
                                <field name="placeholder"/>
                            </group>
                        </group>
                        <notebook>
                            <page string="Groups" name="groups">
                                <field name="group_ids" widget="many2many" domain="[('privilege_id', '=', False)]" context="{'default_privilege_id': id}">
                                    <list string="Groups">
                                        <field name="sequence" widget="handle"/>
                                        <field name="name"/>
                                    </list>
                                </field>
                            </page>
                            <page string="Notes" name="notes">
                                <field name="description"/>
                            </page>
                        </notebook>
                    </sheet>
                </form>
            