19.0 vanilla

This commit is contained in:
Ernad Husremovic 2026-03-09 09:32:28 +01:00
parent 20ddc1b4a3
commit c0efcc53f5
1162 changed files with 125577 additions and 105287 deletions

View file

@ -7,50 +7,54 @@
<field name="model">res.company.ldap</field>
<field name="arch" type="xml">
<form string="LDAP Configuration">
<group>
<field name="company"/>
<newline/>
<group string="Server Information">
<field name="ldap_server"/>
<field name="ldap_server_port"/>
<field name="ldap_tls"/>
<header>
<button name="test_ldap_connection" type="object" string="Test Connection" icon="fa-television" class="btn-primary"/>
</header>
<sheet>
<group>
<field name="company"/>
<newline/>
<group string="Server Information">
<field name="ldap_server"/>
<field name="ldap_server_port"/>
<field name="ldap_tls"/>
</group>
<group string="Login Information">
<field name="ldap_binddn"/>
<field name="ldap_password" password="True"/>
</group>
<group string="Process Parameter">
<field name="ldap_base"/>
<field name="ldap_filter"/>
<field name="sequence"/>
</group>
<group string="User Information">
<field name="create_user"/>
<field name="user"/>
</group>
</group>
<group string="Login Information">
<field name="ldap_binddn"/>
<field name="ldap_password" password="True"/>
</group>
<group string="Process Parameter">
<field name="ldap_base"/>
<field name="ldap_filter"/>
<field name="sequence"/>
</group>
<group string="User Information">
<field name="create_user"/>
<field name="user"/>
</group>
</group>
</sheet>
</form>
</field>
</record>
<record id="res_company_ldap_view_tree" model="ir.ui.view">
<field name="name">res.company.ldap.tree</field>
<field name="name">res.company.ldap.list</field>
<field name="model">res.company.ldap</field>
<field name="arch" type="xml">
<tree string="LDAP Configuration">
<list string="LDAP Configuration">
<field name="company"/>
<field name="ldap_server"/>
<field name="ldap_server_port"/>
</tree>
</list>
</field>
</record>
<!-- ldap installer action -->
<record id="action_ldap_installer" model="ir.actions.act_window">
<field name="name">Setup your LDAP Server</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">res.company.ldap</field>
<field name="view_mode">tree,form</field>
<field name="view_mode">list,form</field>
</record>
</odoo>

View file

@ -5,11 +5,11 @@
<field name="model">res.config.settings</field>
<field name="inherit_id" ref="base_setup.res_config_settings_view_form"/>
<field name="arch" type="xml">
<div name='auth_ldap_right_pane' 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"/>
<setting id="module_auth_ldap" position="inside">
<div class="mt8" invisible="not module_auth_ldap">
<button type="action" name="%(auth_ldap.action_ldap_installer)d" string="LDAP Server" icon="oi-arrow-right" class="btn-link"/>
</div>
</div>
</setting>
<div id="auth_ldap_warning" position="replace"/>
</field>
</record>