Browse Source

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

pull/4/head
Stéphane Bidoul 10 years ago
committed by Guewen Baconnier
parent
commit
282e1e0655
  1. 4
      web_easy_switch_company/view/res_users_view.xml

4
web_easy_switch_company/view/res_users_view.xml

@ -8,7 +8,9 @@
<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="replace" />
<field name="company_id" position="attributes">
<attribute name="invisible">1</attribute>
</field>
</field>
</record>
</data>

Loading…
Cancel
Save