Skip to content

Commit

Permalink
[FIX] account: Two actions same name
Browse files Browse the repository at this point in the history
opw-1917444

In the "Chart of Accounts" view, the action to view journal items show
up twice. This was because, two action windows had the same name, one
is for view journal items, and the second one is for view jounral items
for Tax Audit.
After this commit, the second action is named
"Journal Items for Tax Audit".

closes #29597
  • Loading branch information
jpp-odoo committed Dec 18, 2018
1 parent 7afaf2c commit c7a307f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions addons/account/i18n/account.pot
Expand Up @@ -5518,6 +5518,11 @@ msgstr ""
msgid "Journal Items"
msgstr ""

#. module: account
#: model:ir.actions.act_window,name:account.action_move_line_select_tax_audit
msgid "Journal Items for Tax Audit"
msgstr ""

#. module: account
#. openerp-web
#: code:addons/account/static/src/js/reconciliation/reconciliation_action.js:326
Expand Down
2 changes: 1 addition & 1 deletion addons/account/views/account_view.xml
Expand Up @@ -1387,7 +1387,7 @@

<act_window
id="action_move_line_select_tax_audit"
name="Journal Items"
name="Journal Items for Tax Audit"
context="{'search_default_account_id': [active_id]}"
res_model="account.move.line"
src_model="account.account"
Expand Down

0 comments on commit c7a307f

Please sign in to comment.