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

<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data>
<record id="company_form_view" model="ir.ui.view">
<field name="model">res.company</field>
<field name="inherit_id" ref="auth_ldap.company_form_view" />
<field name="arch" type="xml">
<xpath expr="//field[@name='ldaps']/form//field[@name='create_user']" position="after">
<field name="create_ldap_entry" />
</xpath>
<xpath expr="//field[@name='ldaps']/form/group" position="after">
<group name="users_ldap_push" attrs="{'invisible': [('create_ldap_entry', '!=', True)]}">
<field name="create_ldap_entry_base" />
<field name="create_ldap_entry_objectclass" attrs="{'required': [('create_ldap_entry', '=', True)]}"/>
<field name="create_ldap_entry_field_mappings" attrs="{'required': [('create_ldap_entry', '=', True)]}">
<tree editable="bottom">
<field name="field_id" />
<field name="attribute" />
<field name="use_for_dn" />
</tree>
</field>
</group>
</xpath>
</field>
</record>
</data>
</openerp>