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
1014 B

  1. <?xml version="1.0"?>
  2. <odoo>
  3. <record model="ir.ui.view" id="company_form_view">
  4. <field name="name">Add populate button to ldap view</field>
  5. <field name="model">base.config.settings</field>
  6. <field name="inherit_id" ref="auth_ldap.view_general_configuration_form_inherit_auth_ldap"/>
  7. <field name="arch" type="xml">
  8. <xpath name="populate_ldap" expr="//field[@name='ldaps']/form" position="inside">
  9. <group string="Populate user database">
  10. <field name="deactivate_unknown_users"/>
  11. <field name="no_deactivate_user_ids"
  12. attrs="{'invisible': [('deactivate_unknown_users', '=', False)]}"
  13. widget="many2many_tags" />
  14. </group>
  15. <button name="populate_wizard"
  16. string="Populate"
  17. type="object"
  18. colspan="2"/>
  19. </xpath>
  20. </field>
  21. </record>
  22. </odoo>