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

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