Skip to content
Snippets Groups Projects
Commit f7879c40 authored by Thibault Delavallée's avatar Thibault Delavallée
Browse files

[FIX] crm_partner_assign: fixed search on res.partner still using deprecated...

[FIX] crm_partner_assign: fixed search on res.partner still using deprecated country field instead of country_id.
parent 43f9b181
No related branches found
No related tags found
No related merge requests found
......@@ -191,7 +191,7 @@ class crm_lead(osv.osv):
('partner_weight','>', 0),
('partner_latitude','>', latitude - 8), ('partner_latitude','<', latitude + 8),
('partner_longitude','>', longitude - 8), ('partner_longitude','<', longitude + 8),
('country', '=', lead.country_id.id),
('country_id', '=', lead.country_id.id),
], context=context)
# 5. fifth way: anywhere in same country
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment