From 78f52338cf2dbb59e043e24a3fd06e30673a53e9 Mon Sep 17 00:00:00 2001 From: "robin.keunen" Date: Tue, 15 Oct 2019 16:25:43 +0200 Subject: [PATCH] [REF] emc: move menus to menus.xml --- easy_my_coop/__manifest__.py | 1 + easy_my_coop/views/account_invoice_view.xml | 4 +-- .../views/cooperator_register_view.xml | 3 +-- easy_my_coop/views/email_template_view.xml | 4 +-- easy_my_coop/views/menus.xml | 27 +++++++++++++++++++ easy_my_coop/views/operation_request_view.xml | 3 +-- easy_my_coop/views/product_view.xml | 3 +-- easy_my_coop/views/res_partner_view.xml | 14 +++------- .../views/subscription_request_view.xml | 10 +------ easy_my_coop_loan/__manifest__.py | 3 ++- easy_my_coop_loan/views/loan_view.xml | 5 +--- easy_my_coop_loan/views/term_view.xml | 3 +-- 12 files changed, 41 insertions(+), 39 deletions(-) create mode 100644 easy_my_coop/views/menus.xml diff --git a/easy_my_coop/__manifest__.py b/easy_my_coop/__manifest__.py index aed426e..77751de 100644 --- a/easy_my_coop/__manifest__.py +++ b/easy_my_coop/__manifest__.py @@ -43,6 +43,7 @@ 'views/product_view.xml', 'views/res_company_view.xml', 'views/account_journal_view.xml', + 'views/menus.xml', 'report/easy_my_coop_report.xml', 'report/layout.xml', 'report/cooperator_invoice_G002.xml', diff --git a/easy_my_coop/views/account_invoice_view.xml b/easy_my_coop/views/account_invoice_view.xml index 80c76c5..ec34b8b 100644 --- a/easy_my_coop/views/account_invoice_view.xml +++ b/easy_my_coop/views/account_invoice_view.xml @@ -42,8 +42,6 @@ - - Customer Invoices account.invoice @@ -72,4 +70,4 @@ {'default_type':'out_invoice', 'type':'out_invoice', 'journal_type': 'sale'} - \ No newline at end of file + diff --git a/easy_my_coop/views/cooperator_register_view.xml b/easy_my_coop/views/cooperator_register_view.xml index 523da7d..148c29c 100644 --- a/easy_my_coop/views/cooperator_register_view.xml +++ b/easy_my_coop/views/cooperator_register_view.xml @@ -74,5 +74,4 @@ - - \ No newline at end of file + diff --git a/easy_my_coop/views/email_template_view.xml b/easy_my_coop/views/email_template_view.xml index a98d189..3b54efb 100644 --- a/easy_my_coop/views/email_template_view.xml +++ b/easy_my_coop/views/email_template_view.xml @@ -1,6 +1,5 @@ - @@ -12,5 +11,4 @@ - - + diff --git a/easy_my_coop/views/menus.xml b/easy_my_coop/views/menus.xml new file mode 100644 index 0000000..be9adb2 --- /dev/null +++ b/easy_my_coop/views/menus.xml @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/easy_my_coop/views/operation_request_view.xml b/easy_my_coop/views/operation_request_view.xml index 4b7ff1f..ecf56b2 100644 --- a/easy_my_coop/views/operation_request_view.xml +++ b/easy_my_coop/views/operation_request_view.xml @@ -103,5 +103,4 @@ - - \ No newline at end of file + diff --git a/easy_my_coop/views/product_view.xml b/easy_my_coop/views/product_view.xml index 68ddfda..4c23761 100644 --- a/easy_my_coop/views/product_view.xml +++ b/easy_my_coop/views/product_view.xml @@ -45,8 +45,7 @@ - - + diff --git a/easy_my_coop/views/res_partner_view.xml b/easy_my_coop/views/res_partner_view.xml index dbb4d07..cce636d 100644 --- a/easy_my_coop/views/res_partner_view.xml +++ b/easy_my_coop/views/res_partner_view.xml @@ -92,8 +92,6 @@ - - Cooperator ir.actions.act_window @@ -113,9 +111,7 @@

- - - + Cooperator candidates ir.actions.act_window @@ -135,9 +131,7 @@

- - - + Company representative ir.actions.act_window @@ -157,8 +151,6 @@ - - res.partner.remove.follower.inherit res.partner @@ -168,4 +160,4 @@ - + diff --git a/easy_my_coop/views/subscription_request_view.xml b/easy_my_coop/views/subscription_request_view.xml index 421f097..035606c 100644 --- a/easy_my_coop/views/subscription_request_view.xml +++ b/easy_my_coop/views/subscription_request_view.xml @@ -1,8 +1,5 @@ - - - subscription.request.tree @@ -129,8 +126,6 @@ - - subscription.request.tree subscription.request @@ -166,8 +161,6 @@ - - share.line.form share.line @@ -234,5 +227,4 @@ form - - \ No newline at end of file + diff --git a/easy_my_coop_loan/__manifest__.py b/easy_my_coop_loan/__manifest__.py index d115bb0..92dc59e 100644 --- a/easy_my_coop_loan/__manifest__.py +++ b/easy_my_coop_loan/__manifest__.py @@ -21,7 +21,8 @@ 'views/term_view.xml', 'views/loan_view.xml', 'views/partner_view.xml', - 'data/mail_template_data.xml', + 'views/menus.xml', + 'data/mail_template_data.xml', ], 'installable': True, } diff --git a/easy_my_coop_loan/views/loan_view.xml b/easy_my_coop_loan/views/loan_view.xml index defe3d7..f807141 100644 --- a/easy_my_coop_loan/views/loan_view.xml +++ b/easy_my_coop_loan/views/loan_view.xml @@ -1,6 +1,5 @@ - loan.issue.tree loan.issue @@ -106,8 +105,6 @@ tree,form - - loan.issue.line.form loan.issue.line @@ -160,4 +157,4 @@ - \ No newline at end of file + diff --git a/easy_my_coop_loan/views/term_view.xml b/easy_my_coop_loan/views/term_view.xml index ef41952..2352fd4 100644 --- a/easy_my_coop_loan/views/term_view.xml +++ b/easy_my_coop_loan/views/term_view.xml @@ -36,5 +36,4 @@ tree,form - - \ No newline at end of file +