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.

37 lines
1.3 KiB

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