diff options
Diffstat (limited to 'app')
| -rw-r--r-- | app/page.tsx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/page.tsx b/app/page.tsx index af5ada3..9be784f 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -119,6 +119,10 @@ export default function Home() { if (submittedDispatch) data.dispatch_document = newDispatchImage!; if (isDispatch && shippingMethod) data.shipping_method = shippingMethod; + if (shippingMethod === "self_pickup") { + data.self_pu = "true"; + } + const response = (await odooApi( "PUT", `/api/v1/stock-picking/${barcode}/documentation`, |
