Hi,
I'm trying to make the following call from js tor retrieve a list of object from a list of ids, but I can't make the filter work. I don't know how to make an 'OR' statement. I tried to use '|' as an operator but I get an error
TypeError: unhashable type: 'list
self._rpc({
model: self.modelName,
method: 'search_read',
context: self.data.context,
fields: self.fieldNames,
domain: [
['|', ['id', '=', 1'], ['id', '=', 2], ['id', '=', 3]]
]
})
Regards