This commit is contained in:
2026-01-03 20:06:22 +01:00
parent 5b3345a625
commit 59d301a6f2

View File

@@ -141,6 +141,7 @@ const lotData = [
})}, })},
]; ];
const context = "{'purchase': None, 'client': None, 'supplier': None, 'sale': None, 'product': None}";
const kpis = [ const kpis = [
{ {
title: "PNL ($)", title: "PNL ($)",
@@ -156,13 +157,14 @@ const kpis = [
trend: "-3% this month", trend: "-3% this month",
trendValue: -3, trendValue: -3,
icon: Gauge, icon: Gauge,
action: () => openInTryton("open.position.report", undefined, ['tree'],[["id", ">", 0]],'exec_window',{ action: () => openInTryton(
purchase: "None", "open.position.report",
client: "None", undefined,
supplier: "None", ["tree"],
sale: "None", [["id", ">", 0]],
product: "None" "exec_window",
}) context
)
}, },
{ {
title: "Amount to pay ($)", title: "Amount to pay ($)",