Skip to content

Commit

Permalink
[FIX] l10n_nl, l10n_nz: prevent localization instalation from crashing
Browse files Browse the repository at this point in the history
Original commit 64691c7796f92ffda15f5526b83d9b8b21ca149b courtesy of Andrea Stirpe <a.stirpe@onestein.nl>
Removed action 'Open Account Dashboard Menu' from module l10n_nl.
Though it works fine on Odoo Community 10.0, that part of code causes an error when installing the module on an Enterprise installation of Odoo 10.0.
That action 'Open Account Dashboard Menu' was present in various localizations for V9.0, but since V10 it was removed from all the localization modules.

Impacted versions:
 - 10.0 Enterprise

Steps to reproduce:
 1. install module l10n_nl on Odoo Enterprise 10.0

Module l10n_nz was affected by the same problem.
  • Loading branch information
astirpe authored and qdp-odoo committed Oct 24, 2016
1 parent 976fdc4 commit d11e88d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 24 deletions.
13 changes: 0 additions & 13 deletions addons/l10n_nl/data/account_chart_template.xml
Original file line number Diff line number Diff line change
@@ -1,18 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data noupdate="1">

<record id="action_client_l10n_nl_menu" model="ir.actions.client">
<field name="name">Open Account Dashboard Menu</field>
<field name="tag">reload</field>
<field name="params" eval="{'menu_id': ref('account.menu_board_journal_1')}"/>
</record>
<record id="base.open_menu" model="ir.actions.todo">
<field name="action_id" ref="action_client_l10n_nl_menu"/>
<field name="state">open</field>
</record>

</data>
<data noupdate="0">

<!-- Chart Template -->
Expand Down
11 changes: 0 additions & 11 deletions addons/l10n_nz/data/l10n_nz_chart_data.xml
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">
<record id="action_client_l10n_nz_menu" model="ir.actions.client">
<field name="name">Open Account Dashboard Menu</field>
<field name="tag">reload</field>
<field name="params" eval="{'menu_id': ref('account.menu_board_journal_1')}"/>
</record>
<record id="base.open_menu" model="ir.actions.todo">
<field name="action_id" ref="action_client_l10n_nz_menu"/>
<field name="state">open</field>
</record>
</data>

<data noupdate="0">

Expand Down

0 comments on commit d11e88d

Please sign in to comment.