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 ($)",