fixed for "Select Serial Numbers" dialog won't fill mandatory field

This commit is contained in:
pipeCh 2019-01-24 15:00:07 +07:00
parent f74e28bc64
commit c16c7fffb4

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;