From aea60f349fe2c4e82d131024ddad235037b3f9d8 Mon Sep 17 00:00:00 2001 From: pratu16x7 Date: Mon, 17 Jul 2017 21:33:04 +0530 Subject: [PATCH] [minor] default qty 0, fixes frappe/erpnext#9880 --- erpnext/public/js/utils/serial_no_batch_selector.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/public/js/utils/serial_no_batch_selector.js b/erpnext/public/js/utils/serial_no_batch_selector.js index 735f5c44f8..08630e5998 100644 --- a/erpnext/public/js/utils/serial_no_batch_selector.js +++ b/erpnext/public/js/utils/serial_no_batch_selector.js @@ -66,7 +66,7 @@ erpnext.SerialNoBatchSelector = Class.extend({ fieldtype:'Float', read_only: 1, label: __(me.has_batch ? 'Total Qty' : 'Qty'), - default: me.qty + default: 0 }, ];