From 3f94947fc5f7e7578fa9f5f9b3a5a75352895ffa Mon Sep 17 00:00:00 2001 From: Felipe Martins Diel Date: Sat, 16 Nov 2024 21:03:41 -0300 Subject: [PATCH] Fix getAll() filters --- packages/nodes-base/nodes/Odoo/GenericFunctions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nodes-base/nodes/Odoo/GenericFunctions.ts b/packages/nodes-base/nodes/Odoo/GenericFunctions.ts index 17fbdc14ca..1e2acfcbe7 100644 --- a/packages/nodes-base/nodes/Odoo/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Odoo/GenericFunctions.ts @@ -280,7 +280,7 @@ export async function odooGetAll( password, mapOdooResources[resource] || resource, mapOperationToJSONRPC[operation], - (filters && processFilters(filters)) || [], + [(filters && processFilters(filters)) || []], { fields: fieldsToReturn || [], offset: 0,