Files
odoo_source/addons/auth_ldap/user_ldap_installer.xml
T
Yannick Tivisse 6909c265ca [IMP] Website_slides: Override open_menu instead of creating a new ir.actions.todo
That way, we have only 2 ir.actions.todo executables on the common modules
(I don't count the configuration wizards in l10n_eu_service or oauth_ldap)
- 'base.open_menu' to jump on a frontend view
- 'theme_install_todo' to open the theme installation view

As the module website_theme_install is auto_install: True and so installed after
the modules like forum, slides, ..., the theme_install_todo is by accident
always the 1st chosen one, which was the wanted behavior.

NB: Remove the ldap wizard launcher
2016-02-26 15:21:21 +01:00

48 lines
1.9 KiB
XML

<openerp>
<data>
<!-- ldap installer Form View -->
<record model="ir.ui.view" id="view_ldap_installer_form">
<field name="name">ldap.installer.form</field>
<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"/>
</group>
<group string="Login Information">
<field name="ldap_binddn"/>
<field name="ldap_password"/>
</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>
</form>
</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_type">form</field>
<field name="view_mode">form</field>
<field name="view_id" ref="view_ldap_installer_form"/>
</record>
</data>
</openerp>