3
0
Fork 0

[FIX] web_easy_switch_company: hide instead of removing company_id field in user preferences

7.0
Stéphane Bidoul 2014-04-28 10:55:20 +02:00 committed by Guewen Baconnier
commit 282e1e0655
1 changed files with 3 additions and 1 deletions

View File

@ -8,7 +8,9 @@
<field name="inherit_id" ref="base.view_users_form_simple_modif"/> <field name="inherit_id" ref="base.view_users_form_simple_modif"/>
<field name="arch" type="xml"> <field name="arch" type="xml">
<!-- hide old behaviour to change company --> <!-- hide old behaviour to change company -->
<field name="company_id" position="replace" /> <field name="company_id" position="attributes">
<attribute name="invisible">1</attribute>
</field>
</field> </field>
</record> </record>
</data> </data>