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.

27 lines
1.1 KiB

  1. <?xml version="1.0"?>
  2. <openerp>
  3. <data>
  4. <record model="ir.ui.view" id="company_form_view">
  5. <field name="name">res.company.form.inherit.users_ldap_groups</field>
  6. <field name="model">res.company</field>
  7. <field name="inherit_id" ref="auth_ldap.company_form_view"/>
  8. <field name="arch" type="xml">
  9. <xpath expr="//form[@string='LDAP Configuration']" position="inside">
  10. <group string="Map User Groups" >
  11. <field name="only_ldap_groups" />
  12. <field name="group_mappings" colspan="4" nolabel="1">
  13. <tree editable="top">
  14. <field name="ldap_attribute" attrs="{'required': [('operator','not in',['query'])], 'readonly': [('operator','in',['query'])]}" />
  15. <field name="operator" />
  16. <field name="value" />
  17. <field name="group" />
  18. </tree>
  19. </field>
  20. </group>
  21. </xpath>
  22. </field>
  23. </record>
  24. </data>
  25. </openerp>