mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-16 11:39:18 +00:00
[item] default warehouse is selected with item
This commit is contained in:
@@ -51,6 +51,9 @@ def get_item_details(args):
|
||||
|
||||
out.supplier_part_no = _get_supplier_part_no(args, item_bean)
|
||||
|
||||
if not out.warehouse:
|
||||
out.warehouse = item_bean.doc.default_warehouse
|
||||
|
||||
if out.warehouse:
|
||||
out.projected_qty = get_projected_qty(item.name, out.warehouse)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user