[FIX] crm: Domain corrected.

bzr revid: uco@tinyerp.com-20101110073540-811txtx09ejma493
This commit is contained in:
uco (OpenERP) 2010-11-10 13:05:40 +05:30
parent 07a3bdfce2
commit 3949aba444
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ class crm_lead(crm_case, osv.osv):
# Lead fields
'categ_id': fields.many2one('crm.case.categ', 'Category', \
domain="['|',('section_id','=',section_id),('section_id','=',False), ('object_id.model', '=', 'crm.project.bug')]"),
domain="['|',('section_id','=',section_id),('section_id','=',False), ('object_id.model', '=', 'crm.lead')]"),
'type_id': fields.many2one('crm.case.resource.type', 'Campaign', \
domain="['|',('section_id','=',section_id),('section_id','=',False)]"),
'channel_id': fields.many2one('res.partner.canal', 'Channel'),