Community mailing list archives

community@mail.odoo.com

[V8] search view : search on a list of reference

by
Skillteam, Houssine BAKKALI
- 02/04/2016 05:46:48
Hi Community,

I was wondering if there was a way to make a search on a list of reference for product or a list of last name for partner in standard?

All my tries fail so far. I've tried something like

REF_1, REF_2, REF_3
[REF_1, REF_2, REF_3]
['REF_1', 'REF_2', 'REF_3']

None of those tries made it.

I've changed the search view to change the domain_filter to ['lastname','in',self] without any success getting this error

ValueError: Invalid domain term (u'lastname', u'in', u"['bakkali', 'dugardin']")