[minor] default qty 0, fixes frappe/erpnext#9880

This commit is contained in:
pratu16x7 2017-07-17 21:33:04 +05:30 committed by Nabin Hait
parent 90bd5681d1
commit aea60f349f

View File

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