fix: correct fieldname for source warehouse

This commit is contained in:
Ankush Menat 2022-02-28 13:04:24 +05:30 committed by Ankush Menat
parent 0bed592777
commit 3cc47d5ba5

View File

@ -267,7 +267,7 @@ erpnext.stock.move_item = function (item, source, target, actual_qty, rate, call
doc.stock_entry_type = doc.from_warehouse ? "Material Transfer" : "Material Receipt";
let row = frappe.model.add_child(doc, 'items');
row.item_code = dialog.get_value('item_code');
row.f_warehouse = dialog.get_value('target');
row.s_warehouse = dialog.get_value('source');
row.t_warehouse = dialog.get_value('target');
row.qty = dialog.get_value('qty');
row.conversion_factor = 1;