mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-16 16:15:02 +00:00
Merge pull request #29790 from frappe/mergify/bp/version-13-hotfix/pr-29778
fix: incorrect pricing rule filtering on selecting first item (backport #29778)
This commit is contained in:
@@ -344,6 +344,7 @@ def get_basic_details(args, item, overwrite_warehouse=True):
|
||||
|
||||
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:
|
||||
|
||||
Reference in New Issue
Block a user