This commit is contained in:
2025-12-29 16:33:59 +01:00
parent 9258a76029
commit 777eea143a

View File

@@ -133,7 +133,7 @@ const kpis = [
trend: "+5% this month",
trendValue: 5,
icon: DollarSign,
action: () => openInTryton("account.invoice", undefined, ['tree'])
action: () => openInTryton("account.invoice", undefined, ['tree','form'],[['type', '=', 'in']])
},
{
title: "Amount to receive ($)",
@@ -141,7 +141,7 @@ const kpis = [
trend: "-1% this month",
trendValue: -1,
icon: HandCoins,
action: () => openInTryton("account.invoice", undefined, ['tree'])
action: () => openInTryton("account.invoice", undefined, ['tree','form'],[['type', '=', 'out']])
},
];
@@ -178,7 +178,7 @@ const cards = [
value: inv_p,
trend: "-2% this week",
icon: Receipt,
action: () => openInTryton("account.invoice", undefined, ['tree'])
action: () => openInTryton("account.invoice", undefined, ['tree','form'],[['type', '=', 'in']])
},
{
id: "sale_invoices",
@@ -186,7 +186,7 @@ const cards = [
value: inv_s,
trend: "+2% this week",
icon: FileText,
action: () => openInTryton("account.invoice", undefined, ['tree'])
action: () => openInTryton("account.invoice", undefined, ['tree','form'],[['type', '=', 'out']])
},
{
id: "payments_to_validate",
@@ -194,7 +194,7 @@ const cards = [
value: move_cash,
trend: "+12% this week",
icon: HandCoins,
action: () => openInTryton("account.move", undefined, ['tree'])
action: () => openInTryton("account.move", undefined, ['tree','form'],[['journal', '=', 3]])
},
// {
// id: "prepayments",