From 773829b95d742e3caf5266cc6c29c25cfb40279b Mon Sep 17 00:00:00 2001 From: ValdiANS Date: Mon, 15 Jun 2026 11:16:58 +0700 Subject: [PATCH] hotfix: remove default value for quantity field --- .../form/repeater/sales-order/SalesOrderProductForm.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/pages/marketing/form/repeater/sales-order/SalesOrderProductForm.tsx b/src/components/pages/marketing/form/repeater/sales-order/SalesOrderProductForm.tsx index bcc71131..6cf4e345 100644 --- a/src/components/pages/marketing/form/repeater/sales-order/SalesOrderProductForm.tsx +++ b/src/components/pages/marketing/form/repeater/sales-order/SalesOrderProductForm.tsx @@ -251,11 +251,11 @@ const SalesOrderProductForm = ({ ); setSelectedProductWarehouse(productWarehouse || null); formik.setFieldValue('product_warehouse_data', productWarehouse || null); - formik.setFieldValue('qty', productWarehouse?.quantity); - if (productWarehouse?.quantity) { - handleFieldChange('qty', productWarehouse?.quantity); - } + // comment default value for quantity by request on 15 June 2026 + // if (productWarehouse?.quantity) { + // handleFieldChange('qty', productWarehouse?.quantity); + // } formik.setFieldValue('uom', productWarehouse?.product?.uom?.name || ''); if (