[item] default warehouse is selected with item

This commit is contained in:
Rushabh Mehta
2013-07-01 11:46:07 +05:30
parent b3f947aca6
commit 1bcc19e019
5 changed files with 27 additions and 6 deletions

View File

@@ -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)