[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
This commit is contained in:
Yannick Tivisse
2016-02-26 15:21:21 +01:00
parent 076fad1de5
commit 6909c265ca
2 changed files with 1 additions and 4 deletions
-3
View File
@@ -43,8 +43,5 @@
<field name="view_id" ref="view_ldap_installer_form"/>
</record>
<record id="config_wizard_action_ldap_installer" model="ir.actions.todo">
<field name="action_id" ref="action_ldap_installer"/>
</record>
</data>
</openerp>
@@ -99,7 +99,7 @@
<field name="target">self</field>
<field name="url" eval="'/slides'"/>
</record>
<record id="base.open_menu_channels" model="ir.actions.todo">
<record id="base.open_menu" model="ir.actions.todo">
<field name="action_id" ref="action_open_channels"/>
<field name="type">automatic</field>
<field name="state">open</field>