From 31d67119dbf12f29b9e1ab82e9ea50e12f4a6058 Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Wed, 12 Dec 2018 18:14:09 +0000 Subject: [PATCH] [FIX] crm,pos_sale,sales_team: force empty domains and contexts Theses records used to have a domain/context set [1]. Force a empty one for updated databases. [1] see 1da63f0ab0fb4212bee46f960c6bbe8ca9251cac closes odoo/odoo#29487 --- addons/crm/views/crm_team_views.xml | 2 ++ addons/pos_sale/security/pos_sale_security.xml | 1 + addons/sales_team/security/sales_team_security.xml | 1 + addons/sales_team/views/crm_team_views.xml | 1 + 4 files changed, 5 insertions(+) diff --git a/addons/crm/views/crm_team_views.xml b/addons/crm/views/crm_team_views.xml index 2a128080bf4..e16453588f4 100644 --- a/addons/crm/views/crm_team_views.xml +++ b/addons/crm/views/crm_team_views.xml @@ -80,6 +80,7 @@ Leads Analysis crm.lead {'search_default_team_id': [active_id], 'time_ranges': {'field':'create_date', 'range':'last_30_days'}} + [] graph,pivot,tree,form Leads Analysis allows you to check different CRM related information like the treatment delays or number of leads per state. You can sort out your leads analysis by different groups to get accurate grained analysis. @@ -91,6 +92,7 @@ graph,pivot,tree,form {'search_default_team_id': [active_id], 'form_view_ref': 'crm.crm_case_form_view_oppor', 'tree_view_ref': 'crm.crm_case_tree_view_oppor','search_default_opportunity': True, 'time_ranges': {'field':'create_date', 'range':'last_365_days'}} + [] Opportunities Analysis gives you an instant access to your opportunities with information such as the expected revenue, planned cost, missed deadlines or the number of interactions per opportunity. This report is mainly used by the sales manager in order to do the periodic review with the channels of the sales pipeline. diff --git a/addons/pos_sale/security/pos_sale_security.xml b/addons/pos_sale/security/pos_sale_security.xml index 435ff8ad5f1..265cb695d59 100644 --- a/addons/pos_sale/security/pos_sale_security.xml +++ b/addons/pos_sale/security/pos_sale_security.xml @@ -3,6 +3,7 @@ POS Sales Team + [(1,'=',1)] diff --git a/addons/sales_team/security/sales_team_security.xml b/addons/sales_team/security/sales_team_security.xml index 2ca3879d012..aee015cbd0b 100644 --- a/addons/sales_team/security/sales_team_security.xml +++ b/addons/sales_team/security/sales_team_security.xml @@ -25,6 +25,7 @@ All Salesteam + [(1,'=',1)] diff --git a/addons/sales_team/views/crm_team_views.xml b/addons/sales_team/views/crm_team_views.xml index 8c3a0d8433c..3b3f273b83a 100644 --- a/addons/sales_team/views/crm_team_views.xml +++ b/addons/sales_team/views/crm_team_views.xml @@ -42,6 +42,7 @@ form kanban,form + {}

Define a new Sales Team