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.

38 lines
1.3 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" required="1"/>
  16. <field name="date_from"/>
  17. <field name="date_to"/>
  18. <field name="is_enabled"/>
  19. </tree>
  20. </field>
  21. </page>
  22. </xpath>
  23. </field>
  24. </record>
  25. <record id="view_res_users_search_inherit" model="ir.ui.view">
  26. <field name="name">res.users.search.inherit</field>
  27. <field name="model">res.users</field>
  28. <field name="inherit_id" ref="base.view_users_search"/>
  29. <field name="arch" type="xml">
  30. <field name="company_ids" position="after">
  31. <field name="role_ids"/>
  32. </field>
  33. </field>
  34. </record>
  35. </odoo>