[FIX] Bad domain in the crm
authorStephane Wirtel <stw@openerp.com>
Thu, 5 Sep 2013 14:48:37 +0000 (16:48 +0200)
committerStephane Wirtel <stw@openerp.com>
Thu, 5 Sep 2013 14:48:37 +0000 (16:48 +0200)
bzr revid: stw@openerp.com-20130905144837-qt1n3twxhzhobuez

addons/crm/res_partner.py

index 9cf2dc2..2f10bda 100644 (file)
@@ -41,7 +41,7 @@ class res_partner(osv.osv):
     _columns = {
         'section_id': fields.many2one('crm.case.section', 'Sales Team'),
         'opportunity_ids': fields.one2many('crm.lead', 'partner_id',\
-            'Leads and Opportunities', domain=[('probability' 'not in', ['0', '100'])]),
+            'Leads and Opportunities', domain=[('probability', 'not in', ['0', '100'])]),
         'meeting_ids': fields.many2many('crm.meeting', 'crm_meeting_partner_rel','partner_id', 'meeting_id',
             'Meetings'),
         'phonecall_ids': fields.one2many('crm.phonecall', 'partner_id',\