This question has been flagged
1 Reply
3006 Views

In the Lead Scoring module you are supposed to be able to enter a domain to select Leads.  There are examples in the documentation (https://www.odoo.com/documentation/user/10.0/crm/leads/manage/automatic_assignation.html), but I can't get them to work.  

[[country_id, 'in', ['United States', 'Canada']]]

In the Odoo academy course on 'Lead Assignation' (https://odoo.thinkific.com/courses/take/odoo-functional/lessons/4093193-lead-assignation) there is a more user-friendly way of entering domains but I can't find that in the online Odoo demo or elsewhere.

Anyone able to offer any ideas or suggestions?

Avatar
Discard
Best Answer

I believe Country_id is a m2o field. 

So in your domain, you need to pass the country ids, not names.

Thanks. 

Avatar
Discard