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.

25 lines
1.3 KiB

  1. <?xml version="1.0"?>
  2. <openerp>
  3. <data>
  4. <record model="ir.ui.view" id="view_company_for_ldap">
  5. <field name="name">res.company.form</field>
  6. <field name="model">res.company</field>
  7. <field name="inherit_id" ref="base.view_company_form"/>
  8. <field name="type">form</field>
  9. <field name="arch" type="xml">
  10. <page string="Configuration" position="after">
  11. <page string="LDAP">
  12. <field name="ldap_active" />
  13. <field name="is_activedir" attrs="{'readonly':[('ldap_active', '=', False)]}"/>
  14. <field name="ldap_server" attrs="{'readonly':[('ldap_active', '=', False)]}"/>
  15. <field name="ldap_port" attrs="{'readonly':[('ldap_active', '=', False)]}"/>
  16. <field name="base_dn" attrs="{'readonly':[('ldap_active', '=', False)]}"/>
  17. <field name="contact_dn" attrs="{'readonly':[('ldap_active', '=', False)]}"/>
  18. <field name="ounit" attrs="{'readonly':[('ldap_active', '=', False)]}"/>
  19. <field name="passwd" attrs="{'readonly':[('ldap_active', '=', False)]}"/>
  20. </page>
  21. </page>
  22. </field>
  23. </record>
  24. </data>
  25. </openerp>