[FIX]crm: wizard lead to opportunities, match exact email, insensitive
bzr revid: dle@openerp.com-20130930141202-ghnujem348kydd2m
This commit is contained in:
parent
7fc046e6b3
commit
5be6edcec8
|
@ -62,7 +62,7 @@ class crm_lead2opportunity_partner(osv.osv_memory):
|
|||
for id in ids:
|
||||
tomerge.add(id)
|
||||
if email:
|
||||
ids = lead_obj.search(cr, uid, [('email_from', 'ilike', email[0]), ('state', '!=', 'done')])
|
||||
ids = lead_obj.search(cr, uid, [('email_from', '=ilike', email[0]), ('state', '!=', 'done')])
|
||||
for id in ids:
|
||||
tomerge.add(id)
|
||||
|
||||
|
|
Loading…
Reference in New Issue