Fix getAll() filters

This commit is contained in:
Felipe Martins Diel 2024-11-16 21:03:41 -03:00
parent 8364f7bc4e
commit 3f94947fc5

View file

@ -280,7 +280,7 @@ export async function odooGetAll(
password, password,
mapOdooResources[resource] || resource, mapOdooResources[resource] || resource,
mapOperationToJSONRPC[operation], mapOperationToJSONRPC[operation],
(filters && processFilters(filters)) || [], [(filters && processFilters(filters)) || []],
{ {
fields: fieldsToReturn || [], fields: fieldsToReturn || [],
offset: 0, offset: 0,