From 168ca32323c33b185e075a139b8a0e83b9680b15 Mon Sep 17 00:00:00 2001 From: "Amit Vora (OpenERP Trainee)" Date: Fri, 24 Jan 2014 10:54:23 +0530 Subject: [PATCH] [IMP] changes set Tag term instead of category bzr revid: voraamitr@gmail.com-20140124052423-22qu8005g1nooort --- addons/crm/crm_lead_view.xml | 4 ++-- addons/sale_crm/sale_crm.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/crm/crm_lead_view.xml b/addons/crm/crm_lead_view.xml index baaeaa1ef5c..c94835cc059 100644 --- a/addons/crm/crm_lead_view.xml +++ b/addons/crm/crm_lead_view.xml @@ -325,7 +325,7 @@ - + @@ -543,7 +543,7 @@ - + diff --git a/addons/sale_crm/sale_crm.py b/addons/sale_crm/sale_crm.py index 519508037ed..50ec4e69739 100644 --- a/addons/sale_crm/sale_crm.py +++ b/addons/sale_crm/sale_crm.py @@ -44,7 +44,7 @@ class sale_order(osv.osv): _columns = { 'section_id': fields.many2one('crm.case.section', 'Sales Team'), 'categ_ids': fields.many2many('crm.case.categ', 'sale_order_category_rel', 'order_id', 'category_id', 'Tags', \ - domain="['|',('section_id','=',section_id),('section_id','=',False), ('object_id.model', '=', 'crm.lead')]", context="{'object_name': 'crm.lead'}",help="Classify and analyse your lead/opportunities category like: Training, Service") + domain="['|',('section_id','=',section_id),('section_id','=',False), ('object_id.model', '=', 'crm.lead')]", context="{'object_name': 'crm.lead'}") } def _get_default_section_id(self, cr, uid, context=None):