You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
941 B

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <openerp>
  3. <data>
  4. <record id="view_res_users_simple_modif_form" model="ir.ui.view">
  5. <field name="name">res.users.form</field>
  6. <field name="model">res.users</field>
  7. <field name="inherit_id" ref="base.view_users_form_simple_modif"/>
  8. <field name="arch" type="xml">
  9. <!-- hide old behaviour to change company -->
  10. <field name="company_id" position="attributes">
  11. <attribute name="invisible">1</attribute>
  12. </field>
  13. </field>
  14. </record>
  15. <template id="assets_backend" name="web_tests assets" inherit_id="web.assets_backend">
  16. <xpath expr="." position="inside">
  17. <script type="text/javascript" src="/web_easy_switch_company/static/src/js/switch_company.js"></script>
  18. </xpath>
  19. </template>
  20. </data>
  21. </openerp>