<?xml version="1.0" encoding="utf-8"?>
<odoo>


<record id="view_users_form" model="ir.ui.view">
    <field name="name">default_stock_warehouse.res.users.form</field>
    <field name="model">res.users</field>
    <field name="inherit_id" ref="base.view_users_form"/>
    <field name="arch" type="xml">
        <group name="preferences" position="inside">
            <field name="context_default_warehouse_id"/>
        </group>
    </field>
</record>

<record id="view_users_form_simple_modif" model="ir.ui.view">
    <field name="name">default_stock_warehouse.preferences.res.users.form</field>
    <field name="model">res.users</field>
    <field name="inherit_id" ref="base.view_users_form_simple_modif"/>
    <field name="arch"  type="xml">
        <group name="preferences" position="inside">
            <field name="context_default_warehouse_id" readonly="0"/>
        </group>
    </field>
</record>


</odoo>
