<?xml version="1.0" ?>
<odoo>
    <record model="ir.ui.view" id="company_form_view">
        <field name="name">Add populate button to ldap view</field>
        <field name="model">res.company.ldap</field>
        <field name="inherit_id" ref="auth_ldap.view_ldap_installer_form" />
        <field name="arch" type="xml">
            <xpath name="populate_ldap" expr="//group" position="after">
                <group string="Populate user database">
                    <field name="deactivate_unknown_users" />
                    <field
                        name="no_deactivate_user_ids"
                        attrs="{'invisible': [('deactivate_unknown_users', '=', False)]}"
                        widget="many2many_tags"
                    />
                </group>
                <button
                    name="populate_wizard"
                    string="Populate"
                    type="object"
                    colspan="2"
                />
            </xpath>
        </field>
    </record>
</odoo>
