From 85b2e607bf55be9fe557ed62110404db143774d5 Mon Sep 17 00:00:00 2001 From: Denis Ledoux Date: Wed, 12 Aug 2015 17:34:51 +0200 Subject: [PATCH] [FIX] crm: prevent use a sales tag from another team. On the `categ_ids` fields definition on `crm.lead`, a domain has been added in order to prevent the use of a sales tag belonging to another sales team. As the domain was overidden in the form views, with a different domain, it was allowed to use a sales tag from another sales team. Besides, the domain applied in the form views, `[('object_id.model','=','crm.lead')]` is included in the domain applied in the fiel definition. Closes #2898 --- addons/crm/crm_lead_view.xml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/addons/crm/crm_lead_view.xml b/addons/crm/crm_lead_view.xml index 651735b432a..a477a8a4ae6 100644 --- a/addons/crm/crm_lead_view.xml +++ b/addons/crm/crm_lead_view.xml @@ -164,7 +164,6 @@ @@ -436,9 +435,7 @@ - + context="{'object_name': 'crm.lead'}"/>