From bb44f164060b3d2a0b7185c3af421398b370bb45 Mon Sep 17 00:00:00 2001 From: Sylvain LE GAL Date: Fri, 19 Jul 2019 15:26:40 +0200 Subject: [PATCH 1/3] [ADD] bank statements menu entries --- account_menu/__manifest__.py | 4 ++++ account_menu/readme/ROADMAP.rst | 4 +++- account_menu/views/menu.xml | 14 ++++++++++++++ .../views/view_account_bank_statement.xml | 19 +++++++++++++++++++ 4 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 account_menu/views/menu.xml create mode 100644 account_menu/views/view_account_bank_statement.xml diff --git a/account_menu/__manifest__.py b/account_menu/__manifest__.py index 2b430f655..b14294057 100644 --- a/account_menu/__manifest__.py +++ b/account_menu/__manifest__.py @@ -17,6 +17,10 @@ 'account_tag_menu', 'account_type_menu', ], + 'data': [ + 'views/menu.xml', + 'views/view_account_bank_statement.xml', + ], 'demo': [ 'demo/res_groups.xml', ], diff --git a/account_menu/readme/ROADMAP.rst b/account_menu/readme/ROADMAP.rst index be9de25d2..9be6a6326 100644 --- a/account_menu/readme/ROADMAP.rst +++ b/account_menu/readme/ROADMAP.rst @@ -1,10 +1,12 @@ -In v12, this module only installs 4 modules : +In v12, this module installs 4 modules : * ``account_coa_menu`` * ``account_group_menu`` * ``account_tag_menu`` * ``account_type_menu`` +* Adds menu for bank statements. + For V13+, we could imagine to have a single module that creates all the missing menus (and actions). diff --git a/account_menu/views/menu.xml b/account_menu/views/menu.xml new file mode 100644 index 000000000..16b00f94c --- /dev/null +++ b/account_menu/views/menu.xml @@ -0,0 +1,14 @@ + + + + + + + diff --git a/account_menu/views/view_account_bank_statement.xml b/account_menu/views/view_account_bank_statement.xml new file mode 100644 index 000000000..c1f22a9e4 --- /dev/null +++ b/account_menu/views/view_account_bank_statement.xml @@ -0,0 +1,19 @@ + + + + + + + + + From 7dbffc0fd60eccbeb970bc525245deb738ae8c99 Mon Sep 17 00:00:00 2001 From: oca-travis Date: Tue, 23 Jul 2019 13:09:32 +0000 Subject: [PATCH 2/3] [UPD] Update account_menu.pot --- account_menu/i18n/account_menu.pot | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/account_menu/i18n/account_menu.pot b/account_menu/i18n/account_menu.pot index d2e396f15..36893b010 100644 --- a/account_menu/i18n/account_menu.pot +++ b/account_menu/i18n/account_menu.pot @@ -1,5 +1,6 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: +# * account_menu # msgid "" msgstr "" @@ -12,3 +13,18 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: \n" +#. module: account_menu +#: model:ir.ui.menu,name:account_menu.menu_accounting_statement_bank +msgid "Bank Statements" +msgstr "" + +#. module: account_menu +#: model:ir.ui.menu,name:account_menu.menu_accounting_bank_and_cash +msgid "Bank and Cash" +msgstr "" + +#. module: account_menu +#: model:ir.ui.menu,name:account_menu.menu_accounting_statement_cash +msgid "Cash Registers" +msgstr "" + From 43e809bc0dc85a770e0e1672d8338d0407a35d5c Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Tue, 23 Jul 2019 13:31:58 +0000 Subject: [PATCH 3/3] [UPD] README.rst --- account_menu/README.rst | 4 +++- account_menu/static/description/index.html | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/account_menu/README.rst b/account_menu/README.rst index f91437789..8317a793c 100644 --- a/account_menu/README.rst +++ b/account_menu/README.rst @@ -45,13 +45,15 @@ To see all the menus, make sure: Known issues / Roadmap ====================== -In v12, this module only installs 4 modules : +In v12, this module installs 4 modules : * ``account_coa_menu`` * ``account_group_menu`` * ``account_tag_menu`` * ``account_type_menu`` +* Adds menu for bank statements. + For V13+, we could imagine to have a single module that creates all the missing menus (and actions). diff --git a/account_menu/static/description/index.html b/account_menu/static/description/index.html index 4774faca2..e9ab061be 100644 --- a/account_menu/static/description/index.html +++ b/account_menu/static/description/index.html @@ -394,12 +394,13 @@ ul.auto-toc {

Known issues / Roadmap

-

In v12, this module only installs 4 modules :

+

In v12, this module installs 4 modules :

  • account_coa_menu
  • account_group_menu
  • account_tag_menu
  • account_type_menu
  • +
  • Adds menu for bank statements.

For V13+, we could imagine to have a single module that creates all the missing menus (and actions).