From b174428344feb97102fe9d80309993aca8ff3712 Mon Sep 17 00:00:00 2001 From: Victor Feyens Date: Wed, 12 Feb 2020 12:31:52 +0000 Subject: [PATCH 1/4] [REF] base: remove unused dead action(s) PURPOSE Clean dead actions. SPECIFICATIONS Some ir.actions.act_window are not used in odoo codebase anymore * not linked to a given menu; * not referenced in the code; LINKS Task ID 2188942 (original) Task ID 2196183 (Social/Marketing specific) Community PR odoo/odoo#46435 Enterprise PR odoo/enterprise#8846 --- odoo/addons/base/views/res_company_views.xml | 7 ------- odoo/addons/base/views/res_partner_views.xml | 18 ------------------ 2 files changed, 25 deletions(-) diff --git a/odoo/addons/base/views/res_company_views.xml b/odoo/addons/base/views/res_company_views.xml index b906c774795..3e144a25eb8 100644 --- a/odoo/addons/base/views/res_company_views.xml +++ b/odoo/addons/base/views/res_company_views.xml @@ -104,13 +104,6 @@ - - Companies - ir.actions.act_window - res.company - tree,form - [('id','=',active_id)] - Companies ir.actions.act_window diff --git a/odoo/addons/base/views/res_partner_views.xml b/odoo/addons/base/views/res_partner_views.xml index e3d109b5833..b1ccca5d203 100644 --- a/odoo/addons/base/views/res_partner_views.xml +++ b/odoo/addons/base/views/res_partner_views.xml @@ -655,24 +655,6 @@ - - - Employees - ir.actions.act_window - res.partner - [('employee','=',1)] - {'default_employee':1} - - - - - Other Partners - ir.actions.act_window - res.partner - [('supplier','!=',1),('customer','!=',1)] - - - Contact Tags From 88a05afe800ec465d6d051db64dab29ac0aa8147 Mon Sep 17 00:00:00 2001 From: Victor Feyens Date: Wed, 12 Feb 2020 12:32:38 +0000 Subject: [PATCH 2/4] [REF] crm: remove unused dead action(s) PURPOSE Clean dead actions. SPECIFICATIONS Some ir.actions.act_window are not used in odoo codebase anymore * not linked to a given menu; * not referenced in the code; LINKS Task ID 2188942 (original) Task ID 2196183 (Social/Marketing specific) Community PR odoo/odoo#46435 Enterprise PR odoo/enterprise#8846 --- addons/crm/views/crm_team_views.xml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/addons/crm/views/crm_team_views.xml b/addons/crm/views/crm_team_views.xml index b006730c669..35d08e04f8e 100644 --- a/addons/crm/views/crm_team_views.xml +++ b/addons/crm/views/crm_team_views.xml @@ -149,12 +149,6 @@ - - Cases by Sales Team - crm.team - - - New Opportunity crm.lead From 8569950d48da7cd36e91b483f0e873680234eb65 Mon Sep 17 00:00:00 2001 From: Victor Feyens Date: Wed, 12 Feb 2020 12:33:29 +0000 Subject: [PATCH 3/4] [REF] mass_mailing: remove unused dead action(s) PURPOSE Clean dead actions. SPECIFICATIONS Some ir.actions.act_window are not used in odoo codebase anymore * not linked to a given menu; * not referenced in the code; LINKS Task ID 2188942 (original) Task ID 2196183 (Social/Marketing specific) Community PR odoo/odoo#46435 Enterprise PR odoo/enterprise#8846 --- .../mass_mailing/views/link_tracker_views.xml | 30 ------------------- 1 file changed, 30 deletions(-) diff --git a/addons/mass_mailing/views/link_tracker_views.xml b/addons/mass_mailing/views/link_tracker_views.xml index 7381518f3fb..a8b169645b5 100644 --- a/addons/mass_mailing/views/link_tracker_views.xml +++ b/addons/mass_mailing/views/link_tracker_views.xml @@ -27,36 +27,6 @@ - - Statistics of Clicks - link.tracker - tree,form,graph - - -

- Create a link tracker -

- Trackers are used to collect count stat about click on links and generate short URLs. -

-
- {'search_default_mass_mailing_id': active_id} -
- - - Statistics of Clicks - link.tracker - tree,form,graph - - -

- Create a link tracker -

- Trackers are used to collect count stat about click on links and generate short URLs. -

-
- {'id="link_tracker_action_mass_mailing"': active_id} -
- link.tracker.click.view.search.inherit.mass_mailing From 9aab82ad2081abff46e8300e5f109f5c6b4ba11f Mon Sep 17 00:00:00 2001 From: Victor Feyens Date: Wed, 12 Feb 2020 12:35:57 +0000 Subject: [PATCH 4/4] [REF] rating: remove unused dead action(s) PURPOSE Clean dead actions. SPECIFICATIONS An action (action_view_rating) is used only in helpdesk who rewrites the domain anyway. Let us use the generic rating_rating_view action instead and remove the other unnecessary one. LINKS Task ID 2188942 (original) Task ID 2196183 (Social/Marketing specific) Community PR odoo/odoo#46435 Enterprise PR odoo/enterprise#8846 --- addons/rating/views/rating_rating_views.xml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/addons/rating/views/rating_rating_views.xml b/addons/rating/views/rating_rating_views.xml index d0ca319e1b3..5c9e0b8a1b0 100644 --- a/addons/rating/views/rating_rating_views.xml +++ b/addons/rating/views/rating_rating_views.xml @@ -154,11 +154,10 @@ - - Rating + + Ratings rating.rating kanban,tree,graph,pivot,form - [('consumed','=',True)]

No rating yet @@ -168,12 +167,6 @@ - - Ratings - rating.rating - kanban,tree,graph,pivot,form - -