Merge pull request #16482 from pipech/staging-fixes

fix(Stock Entry): "Select Serial Numbers" dialog won't fill mandatory field
This commit is contained in:
Nabin Hait 2019-01-29 11:23:05 +05:30 committed by GitHub
commit 7c0fbfab0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -208,6 +208,7 @@ erpnext.SerialNoBatchSelector = Class.extend({
map_row_values: function(row, values, number, qty_field, warehouse) {
row.qty = values[qty_field];
row.transfer_qty = flt(values[qty_field]) * flt(row.conversion_factor);
row[number] = values[number];
if(this.warehouse_details.type === 'Source Warehouse') {
row.s_warehouse = values.warehouse || warehouse;