commit | 4259f7278a81f4eb88ee07ee377442c62f2a4719 | [log] [tgz] |
---|---|---|
author | Akhilesh Darjee <akhileshdarjee@gmail.com> | Thu Sep 19 16:14:16 2013 +0530 |
committer | Akhilesh Darjee <akhileshdarjee@gmail.com> | Thu Sep 19 16:14:16 2013 +0530 |
tree | 07aa893a56aee1e75cf032c319666e02bee37b60 | |
parent | 680ba8d912dede32e2b9c458df24f1bfb2823a56 [diff] |
[fix] set qty=1 for all purchase cycle
diff --git a/buying/utils.py b/buying/utils.py index f4fb2f3..179db9b 100644 --- a/buying/utils.py +++ b/buying/utils.py
@@ -65,7 +65,7 @@ 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,