From 31b8b2d8d7172b854b61097777346b8e2ffb157c Mon Sep 17 00:00:00 2001 From: "robin.keunen" Date: Mon, 26 Aug 2019 15:46:48 +0200 Subject: [PATCH] [FIX] easy_my_coop: reorder menu definitions --- easy_my_coop/__openerp__.py | 2 ++ easy_my_coop/view/account_invoice_view.xml | 5 ++- .../view/cooperator_register_view.xml | 3 +- easy_my_coop/view/email_template_view.xml | 6 ++-- easy_my_coop/view/menu.xml | 35 +++++++++++++++++++ easy_my_coop/view/operation_request_view.xml | 3 +- easy_my_coop/view/product_view.xml | 3 +- easy_my_coop/view/res_partner_view.xml | 14 +++----- .../view/subscription_request_view.xml | 9 +---- .../wizard/cooperative_history_wizard.xml | 4 +-- easy_my_coop/wizard/update_partner_info.xml | 1 - 11 files changed, 51 insertions(+), 34 deletions(-) create mode 100644 easy_my_coop/view/menu.xml diff --git a/easy_my_coop/__openerp__.py b/easy_my_coop/__openerp__.py index c0de516..6fa743b 100644 --- a/easy_my_coop/__openerp__.py +++ b/easy_my_coop/__openerp__.py @@ -30,6 +30,7 @@ 'data': [ 'security/easy_my_coop_security.xml', 'security/ir.model.access.csv', + # 'wizard/cooperative_history_wizard.xml', # not loaded, why? 'wizard/create_subscription_from_partner.xml', 'wizard/update_partner_info.xml', 'wizard/validate_subscription_request.xml', @@ -44,6 +45,7 @@ 'view/product_view.xml', 'view/res_company_view.xml', 'view/account_journal_view.xml', + 'view/menu.xml', 'data/easy_my_coop_data.xml', 'report/easy_my_coop_report.xml', 'report/cooperator_invoice_G002.xml', diff --git a/easy_my_coop/view/account_invoice_view.xml b/easy_my_coop/view/account_invoice_view.xml index 10d33ce..5ea6ffc 100644 --- a/easy_my_coop/view/account_invoice_view.xml +++ b/easy_my_coop/view/account_invoice_view.xml @@ -49,8 +49,7 @@ - - + Customer Invoices account.invoice @@ -86,4 +85,4 @@ - \ No newline at end of file + diff --git a/easy_my_coop/view/cooperator_register_view.xml b/easy_my_coop/view/cooperator_register_view.xml index 07ce46e..a96a6bc 100644 --- a/easy_my_coop/view/cooperator_register_view.xml +++ b/easy_my_coop/view/cooperator_register_view.xml @@ -75,6 +75,5 @@ - - \ No newline at end of file + diff --git a/easy_my_coop/view/email_template_view.xml b/easy_my_coop/view/email_template_view.xml index 907e37b..0bf5db6 100644 --- a/easy_my_coop/view/email_template_view.xml +++ b/easy_my_coop/view/email_template_view.xml @@ -1,7 +1,6 @@ - - + Mail Templates mail.template @@ -11,6 +10,5 @@ - - + diff --git a/easy_my_coop/view/menu.xml b/easy_my_coop/view/menu.xml new file mode 100644 index 0000000..2faeb97 --- /dev/null +++ b/easy_my_coop/view/menu.xml @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/easy_my_coop/view/operation_request_view.xml b/easy_my_coop/view/operation_request_view.xml index 422eeaa..c628095 100644 --- a/easy_my_coop/view/operation_request_view.xml +++ b/easy_my_coop/view/operation_request_view.xml @@ -102,6 +102,5 @@ - - \ No newline at end of file + diff --git a/easy_my_coop/view/product_view.xml b/easy_my_coop/view/product_view.xml index dfddcaf..93a9de8 100644 --- a/easy_my_coop/view/product_view.xml +++ b/easy_my_coop/view/product_view.xml @@ -54,8 +54,7 @@ - - + diff --git a/easy_my_coop/view/res_partner_view.xml b/easy_my_coop/view/res_partner_view.xml index 50bb158..b943df4 100644 --- a/easy_my_coop/view/res_partner_view.xml +++ b/easy_my_coop/view/res_partner_view.xml @@ -95,8 +95,7 @@ - - + Cooperator ir.actions.act_window @@ -117,8 +116,7 @@ - - + Cooperator candidates ir.actions.act_window @@ -139,8 +137,7 @@ - - + Company representative ir.actions.act_window @@ -160,8 +157,7 @@ - - + res.partner.remove.follower.inherit res.partner @@ -171,4 +167,4 @@ - + diff --git a/easy_my_coop/view/subscription_request_view.xml b/easy_my_coop/view/subscription_request_view.xml index b9cd1fb..20890f0 100644 --- a/easy_my_coop/view/subscription_request_view.xml +++ b/easy_my_coop/view/subscription_request_view.xml @@ -1,10 +1,6 @@ - - - - subscription.request.tree subscription.request @@ -132,7 +128,6 @@ - subscription.request.tree @@ -169,7 +164,6 @@ - share.line.form @@ -237,6 +231,5 @@ form - - \ No newline at end of file + diff --git a/easy_my_coop/wizard/cooperative_history_wizard.xml b/easy_my_coop/wizard/cooperative_history_wizard.xml index 7fd2d33..6744633 100644 --- a/easy_my_coop/wizard/cooperative_history_wizard.xml +++ b/easy_my_coop/wizard/cooperative_history_wizard.xml @@ -35,7 +35,5 @@ True - - - + diff --git a/easy_my_coop/wizard/update_partner_info.xml b/easy_my_coop/wizard/update_partner_info.xml index 9748023..4161af2 100644 --- a/easy_my_coop/wizard/update_partner_info.xml +++ b/easy_my_coop/wizard/update_partner_info.xml @@ -34,6 +34,5 @@ new -