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
25 lines
1.3 KiB
<?xml version="1.0"?>
|
|
<openerp>
|
|
<data>
|
|
<record model="ir.ui.view" id="view_company_for_ldap">
|
|
<field name="name">res.company.form</field>
|
|
<field name="model">res.company</field>
|
|
<field name="inherit_id" ref="base.view_company_form"/>
|
|
<field name="type">form</field>
|
|
<field name="arch" type="xml">
|
|
<page string="Configuration" position="after">
|
|
<page string="LDAP">
|
|
<field name="ldap_active" />
|
|
<field name="is_activedir" attrs="{'readonly':[('ldap_active', '=', False)]}"/>
|
|
<field name="ldap_server" attrs="{'readonly':[('ldap_active', '=', False)]}"/>
|
|
<field name="ldap_port" attrs="{'readonly':[('ldap_active', '=', False)]}"/>
|
|
<field name="base_dn" attrs="{'readonly':[('ldap_active', '=', False)]}"/>
|
|
<field name="contact_dn" attrs="{'readonly':[('ldap_active', '=', False)]}"/>
|
|
<field name="ounit" attrs="{'readonly':[('ldap_active', '=', False)]}"/>
|
|
<field name="passwd" attrs="{'readonly':[('ldap_active', '=', False)]}"/>
|
|
</page>
|
|
</page>
|
|
</field>
|
|
</record>
|
|
</data>
|
|
</openerp>
|