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 }, ];