From 59d301a6f272a227449c0029975a0d0fbfe51131 Mon Sep 17 00:00:00 2001 From: laurentbarontini Date: Sat, 3 Jan 2026 20:06:22 +0100 Subject: [PATCH] 03.01.26 --- src/App.jsx | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/App.jsx b/src/App.jsx index 18bf6aac..1de06f7f 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -141,6 +141,7 @@ const lotData = [ })}, ]; +const context = "{'purchase': None, 'client': None, 'supplier': None, 'sale': None, 'product': None}"; const kpis = [ { title: "PNL ($)", @@ -156,13 +157,14 @@ const kpis = [ trend: "-3% this month", trendValue: -3, icon: Gauge, - action: () => openInTryton("open.position.report", undefined, ['tree'],[["id", ">", 0]],'exec_window',{ - purchase: "None", - client: "None", - supplier: "None", - sale: "None", - product: "None" - }) + action: () => openInTryton( + "open.position.report", + undefined, + ["tree"], + [["id", ">", 0]], + "exec_window", + context + ) }, { title: "Amount to pay ($)",