[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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user