Skip to content

Commit

Permalink
Merge pull request #35468 from frappe/mergify/bp/version-13-hotfix/pr…
Browse files Browse the repository at this point in the history
…-35459

fix: retention stock entry: grab conversion factor from source (backport #35459)
  • Loading branch information
s-aga-r authored May 30, 2023
2 parents 6f43829 + d8dd22a commit 00fd08c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/stock/doctype/stock_entry/stock_entry.py
Original file line number Diff line number Diff line change
Expand Up @@ -2271,7 +2271,7 @@ def move_sample_to_retention_warehouse(company, items):
"basic_rate": item.get("valuation_rate"),
"uom": item.get("uom"),
"stock_uom": item.get("stock_uom"),
"conversion_factor": 1.0,
"conversion_factor": item.get("conversion_factor") or 1.0,
"serial_no": sample_serial_nos,
"batch_no": item.get("batch_no"),
},
Expand Down

0 comments on commit 00fd08c

Please sign in to comment.