This is an oversight in odoo/odoo#106425 `<div name="auth_ldap_right_pane">` has been replaced by `<setting ... id="oauth">` But, in the `auth_ldap` module, the view has not been adapted to replace the selector `<div name='auth_ldap_right_pane' position="inside">` Therefore leading to the below exception ``` odoo.tools.convert.ParseError: while parsing /home/odoo/src/odoo/master/addons/auth_ldap/views/res_config_settings_views.xml:3 Error while validating view: Element '<div name="auth_ldap_right_pane">' cannot be located in parent view ``` This is most-likely because the runbot doesn't install `auth_ldap` and therefore doesn't test it. I take the opportunity of the commit to better name this setting section, from `id="oauth"` to `id="module_auth_ldap"`, first because "oauth" is not "ldap", second to make the naming uniform compared to the other setting section id names. closes odoo/odoo#108530 Signed-off-by: Denis Ledoux (dle) <dle@odoo.com>
17 lines
817 B
XML
17 lines
817 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<record id="res_config_settings_view_form" model="ir.ui.view">
|
|
<field name="name">res.config.settings.view.form.inherit.auth.ldap</field>
|
|
<field name="model">res.config.settings</field>
|
|
<field name="inherit_id" ref="base_setup.res_config_settings_view_form"/>
|
|
<field name="arch" type="xml">
|
|
<setting id="module_auth_ldap" position="inside">
|
|
<div class="mt8" attrs="{'invisible': [('module_auth_ldap','=',False)]}">
|
|
<button type="action" name="%(auth_ldap.action_ldap_installer)d" string="LDAP Server" icon="fa-arrow-right" class="btn-link"/>
|
|
</div>
|
|
</setting>
|
|
<div id="auth_ldap_warning" position="replace"/>
|
|
</field>
|
|
</record>
|
|
</odoo>
|