mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 03:39:11 +00:00
[fix] set qty=1 for all purchase cycle
This commit is contained in:
@@ -65,7 +65,7 @@ def _get_basic_details(args, item_bean):
|
|||||||
|
|
||||||
out = webnotes._dict({
|
out = webnotes._dict({
|
||||||
"description": item.description_html or item.description,
|
"description": item.description_html or item.description,
|
||||||
"qty": 0.0,
|
"qty": 1.0,
|
||||||
"uom": item.stock_uom,
|
"uom": item.stock_uom,
|
||||||
"conversion_factor": 1.0,
|
"conversion_factor": 1.0,
|
||||||
"warehouse": args.warehouse or item.default_warehouse,
|
"warehouse": args.warehouse or item.default_warehouse,
|
||||||
|
|||||||
Reference in New Issue
Block a user