Browse Source

Port the ldap_populate in V9

pull/292/head
florent.thomas 9 years ago
parent
commit
3376c74fc3
  1. 2
      users_ldap_populate/__openerp__.py
  2. 2
      users_ldap_populate/view/users_ldap.xml

2
users_ldap_populate/__openerp__.py

@ -48,5 +48,5 @@ object you want to query.
'view/users_ldap.xml',
'view/populate_wizard.xml',
],
'installable': False,
'installable': True,
}

2
users_ldap_populate/view/users_ldap.xml

@ -6,7 +6,7 @@
<field name="model">res.company</field>
<field name="inherit_id" ref="auth_ldap.company_form_view"/>
<field name="arch" type="xml">
<xpath expr="//form[@string='LDAP Configuration']" position="inside">
<xpath name="populate_ldap" expr="//field[@name='ldaps']/form" position="inside">
<separator string="Populate user database" colspan="4"/>
<button name="populate_wizard"
string="Populate"

Loading…
Cancel
Save