<?xml version="1.0" encoding="utf-8" ?>
<odoo>
    <record id="view_users_form" model="ir.ui.view">
        <field name="name">res.users.form</field>
        <field name="model">res.users</field>
        <field name="inherit_id" ref="base.view_users_form" />
        <field name="arch" type="xml">
            <xpath expr="//notebook" position="inside">
                <page
                    name="attachment_deletion_models"
                    string="Attachment Deletion Models"
                >
                    <group>
                        <field
                            name="delete_attachment_model_ids"
                            domain="[('restrict_delete_attachment', 'in', ['custom', 'owner_custom'])]"
                            widget="many2many_tags"
                        />
                    </group>
                </page>
            </xpath>
        </field>
    </record>
</odoo>
