commit | 3713ae75ab16ea7ca469ab82d529da571583cea2 | [log] [tgz] |
---|---|---|
author | Saqib Ansari <nextchamp.saqib@gmail.com> | Mon Feb 14 11:33:34 2022 +0530 |
committer | Saqib Ansari <nextchamp.saqib@gmail.com> | Mon Feb 14 13:31:37 2022 +0530 |
tree | da1e38a25fb217928301e1e468583cfa1581e3da | |
parent | 85adb947bf6908942c5272adc47d1e5ef06c10b3 [diff] |
fix: incorrect pricing rule filtering on selecting first item
diff --git a/erpnext/stock/get_item_details.py b/erpnext/stock/get_item_details.py index 06f8fa7..d37dc7a 100644 --- a/erpnext/stock/get_item_details.py +++ b/erpnext/stock/get_item_details.py
@@ -343,6 +343,7 @@ args.conversion_factor = out.conversion_factor out.stock_qty = out.qty * out.conversion_factor + args.stock_qty = out.stock_qty # calculate last purchase rate if args.get('doctype') in purchase_doctypes: