diff --git a/src/App.jsx b/src/App.jsx index 68bda905..1e30cb95 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -87,7 +87,7 @@ const data = [ ]; const purchaseData = [ - { status: "Draft", count: draft_p, color: "bg-teal-500", onClick: () => openInTryton("purchase.purchase", undefined, "tree")}, + { status: "Draft", count: draft_p, color: "bg-teal-500", onClick: () => openInTryton("purchase.purchase", undefined, "tree",[['state', '=', 'draft']])}, { status: "Validated", count: val_p, color: "bg-cyan-500", onClick: () => openInTryton("purchase.purchase", undefined, "tree") }, { status: "Confirmed", count: conf_p, color: "bg-blue-500", onClick: () => openInTryton("purchase.purchase", undefined, "tree") }, ];