El 13/06/17 a les 07:24, Khurram Shahzad ha escrit:
If the domain is applied on the field, you should use a One2Many
function field (which will do the compute and return the ids), and use
the following domain:
[('state', '=', 'cross_matched'), ('id', 'in',
Eval('your_function_field', [])]
Having said taht, I'm wondering why you want to use the ids, if you are
going to use a search clause on target model. You can use the '.' to
perform joins domain clauses. For example: Using '
direct_field.name'
will search on the name fields of the records related by the
'direct_field' field. Of course, the direct field must be a relation one.
Hope it helps.
--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk