Browse Source

fix view inheritance

pull/931/head
Damien Crier 6 years ago
parent
commit
696afb82f4
  1. 4
      users_ldap_populate/views/users_ldap.xml

4
users_ldap_populate/views/users_ldap.xml

@ -2,8 +2,8 @@
<odoo> <odoo>
<record model="ir.ui.view" id="company_form_view"> <record model="ir.ui.view" id="company_form_view">
<field name="name">Add populate button to ldap view</field> <field name="name">Add populate button to ldap view</field>
<field name="model">base.config.settings</field>
<field name="inherit_id" ref="auth_ldap.view_general_configuration_form_inherit_auth_ldap"/>
<field name="model">res.company</field>
<field name="inherit_id" ref="auth_ldap.company_form_view"/>
<field name="arch" type="xml"> <field name="arch" type="xml">
<xpath name="populate_ldap" expr="//field[@name='ldaps']/form" position="inside"> <xpath name="populate_ldap" expr="//field[@name='ldaps']/form" position="inside">
<group string="Populate user database"> <group string="Populate user database">

Loading…
Cancel
Save