commit | ce6977ffe6f732fbd061b5a4cfd6b51d36aa8c17 | [log] [tgz] |
---|---|---|
author | Nabin Hait <nabinhait@gmail.com> | Tue Jun 03 23:01:31 2014 +0530 |
committer | Nabin Hait <nabinhait@gmail.com> | Tue Jun 03 23:02:02 2014 +0530 |
tree | ce11f9df210d7f7e6c12b943fc75f7b10ae7d5e0 | |
parent | bc7efa6da6ebef1de76dc9a5ad08918e31e45ee7 [diff] |
Minor fixes in fetching item details
diff --git a/erpnext/stock/get_item_details.py b/erpnext/stock/get_item_details.py index 4a295d8..9c251b8 100644 --- a/erpnext/stock/get_item_details.py +++ b/erpnext/stock/get_item_details.py
@@ -255,6 +255,7 @@ args = frappe._dict(args) out = frappe._dict() + if not args.get("item_code"): return if not args.get("item_group") or not args.get("brand"): args.item_group, args.brand = frappe.db.get_value("Item",