diff --git a/src/App.jsx b/src/App.jsx index b8b702d2..dad57494 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -121,10 +121,29 @@ const lotData = [ type: 'matched', state: 'all', wh: 'all', - group: 'by_physic' + group: 'by_physic', + origin: 'physic' + })}, + { status: "Available", count: lot_a, color: "bg-gray-400", onClick: () => openInTryton("lot.report", undefined, ['tree', 'form'],[["r_lot_matched", ">", 0]],'exec_window',{ + purchase: null, + sale: null, + shipment: null, + type: 'not matched', + state: 'all', + wh: 'all', + group: 'by_physic', + origin: 'physic' + })}, + { status: "All", count: lot_al, color: "bg-sky-600", onClick: () => openInTryton("lot.report", undefined, ['tree', 'form'],[["r_lot_matched", ">", 0]],'exec_window',{ + purchase: null, + sale: null, + shipment: null, + type: 'all', + state: 'all', + wh: 'all', + group: 'by_physic', + origin: 'physic' })}, - { status: "Available", count: lot_a, color: "bg-gray-400", onClick: () => openInTryton("lot.report", undefined, ['tree', 'form'],[['id', '>', 0]],'exec_window') }, - { status: "All", count: lot_al, color: "bg-sky-600", onClick: () => openInTryton("lot.report", undefined, ['tree', 'form'],[['id', '>', 0]],'exec_window') }, ]; const kpis = [ @@ -513,6 +532,7 @@ export default function App() {
openInTryton('currency.currency', undefined, ["form"], [[('id','=',2)]])} >
@@ -602,7 +622,7 @@ export default function App() {