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.
22 lines
973 B
22 lines
973 B
<?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</field>
|
|
<field name="inherit_id" ref="auth_ldap.company_form_view"/>
|
|
<field name="arch" type="xml">
|
|
<xpath name="populate_ldap" expr="//field[@name='ldaps']/form" position="inside">
|
|
<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>
|