fix: correct fieldname for source warehouse
This commit is contained in:
parent
0bed592777
commit
3cc47d5ba5
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user