<?xml version="1.0"?>
<openerp>
    <data>
        <record model="ir.ui.view" id="company_form_view">
            <field name="name">res.company.form.inherit.users_ldap</field>
            <field name="model">res.company</field>
            <field name="inherit_id" ref="base.view_company_form"/>
            <field name="arch" type="xml">
                <xpath expr="//group[@name='account_grp']" position="after">
                    <group string="LDAP Parameters">
                        <field name="ldaps" nolabel="1" colspan="4">
                            <form string="LDAP Configuration" version="7.0">
                                <group col="4">
                                    <field name="ldap_server"/>
                                    <field name="ldap_server_port"/>
                                    <field name="ldap_binddn"/>
                                    <field name="ldap_password" password="True"/>
                                    <field name="ldap_base"/>
                                    <field name="ldap_filter"/>
                                    <field name="create_user"/>
                                    <field name="user"/>
                                    <newline/>
                                    <field name="sequence"/>
                                    <field name="ldap_tls"/>
                                </group>
                            </form>
                            <tree string="LDAP Configuration">
                                <field name="sequence"/>
                                <field name="ldap_server"/>
                                <field name="ldap_server_port"/>
                                <field name="ldap_base"/>
                            </tree>
                        </field>
                    </group>
                </xpath>
            </field>
        </record>
    </data>
</openerp>
