<?xml version="1.0" encoding="utf-8"?> <odoo> <data> <record model="ir.ui.view" id="res_users_inherit_only_app"> <field name="name">res.users.form.inherit.partner</field> <field name="model">res.users</field> <field name="priority" eval="20"/> <field name="inherit_id" ref="base.view_users_form"/> <field name="arch" type="xml"> <xpath expr="//field[@name='partner_id']" position="after"> <field name="only_all_app"/> </xpath> </field> </record> </data> </odoo>