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 AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
  4. <openerp>
  5. <data>
  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. <notebook position="inside">
  12. <page string="Roles">
  13. <field name="role_line_ids" nolabel="1">
  14. <tree editable="bottom" colors="grey: not is_enabled;">
  15. <field name="role_id"/>
  16. <field name="date_from"/>
  17. <field name="date_to"/>
  18. <field name="is_enabled"/>
  19. </tree>
  20. </field>
  21. </page>
  22. </notebook>
  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. </data>
  36. </openerp>