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.

39 lines
1.6 KiB

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!-- Copyright 2014 ABF OSIELL <http://osiell.com>
  3. License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
  4. -->
  5. <odoo>
  6. <record id="view_res_users_form_inherit" model="ir.ui.view">
  7. <field name="name">res.users.form.inherit</field>
  8. <field name="model">res.users</field>
  9. <field name="inherit_id" ref="base.view_users_form" />
  10. <field name="arch" type="xml">
  11. <xpath expr="//notebook/page[1]" position="before">
  12. <page string="Roles">
  13. <field name="role_line_ids" nolabel="1">
  14. <tree editable="bottom" decoration-muted="not is_enabled">
  15. <field name="role_id" />
  16. <field name="date_from" />
  17. <field name="date_to" />
  18. <field name="is_enabled" />
  19. <field
  20. name="company_id"
  21. groups="base.group_multi_company"
  22. />
  23. </tree>
  24. </field>
  25. </page>
  26. </xpath>
  27. </field>
  28. </record>
  29. <record id="view_res_users_search_inherit" model="ir.ui.view">
  30. <field name="name">res.users.search.inherit</field>
  31. <field name="model">res.users</field>
  32. <field name="inherit_id" ref="base.view_users_search" />
  33. <field name="arch" type="xml">
  34. <field name="company_ids" position="after">
  35. <field name="role_ids" />
  36. </field>
  37. </field>
  38. </record>
  39. </odoo>