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.4 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <openerp>
  3. <data>
  4. <record id="company_form_view" model="ir.ui.view">
  5. <field name="model">res.company</field>
  6. <field name="inherit_id" ref="auth_ldap.company_form_view" />
  7. <field name="arch" type="xml">
  8. <xpath expr="//field[@name='ldaps']/form//field[@name='create_user']" position="after">
  9. <field name="create_ldap_entry" />
  10. </xpath>
  11. <xpath expr="//field[@name='ldaps']/form/group" position="after">
  12. <group name="users_ldap_push" attrs="{'invisible': [('create_ldap_entry', '!=', True)]}">
  13. <field name="create_ldap_entry_base" />
  14. <field name="create_ldap_entry_objectclass" attrs="{'required': [('create_ldap_entry', '=', True)]}"/>
  15. <field name="create_ldap_entry_field_mappings" attrs="{'required': [('create_ldap_entry', '=', True)]}">
  16. <tree editable="bottom">
  17. <field name="field_id" />
  18. <field name="attribute" />
  19. <field name="use_for_dn" />
  20. </tree>
  21. </field>
  22. </group>
  23. </xpath>
  24. </field>
  25. </record>
  26. </data>
  27. </openerp>