[fix] set qty=1 for all purchase cycle

This commit is contained in:
Akhilesh Darjee 2013-09-19 16:14:16 +05:30
parent 680ba8d912
commit 4259f7278a

View File

@ -65,7 +65,7 @@ def _get_basic_details(args, item_bean):
out = webnotes._dict({
"description": item.description_html or item.description,
"qty": 0.0,
"qty": 1.0,
"uom": item.stock_uom,
"conversion_factor": 1.0,
"warehouse": args.warehouse or item.default_warehouse,