mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
Some other modules extending the user form rely on the presence of the company_id field, and break when it is removed.
18 lines
636 B
XML
18 lines
636 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<openerp>
|
|
<data>
|
|
|
|
<record id="view_res_users_simple_modif_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_simple_modif"/>
|
|
<field name="arch" type="xml">
|
|
<!-- hide old behaviour to change company -->
|
|
<field name="company_id" position="attributes">
|
|
<attribute name="invisible">1</attribute>
|
|
</field>
|
|
</field>
|
|
</record>
|
|
</data>
|
|
</openerp>
|