Skip to content

Commit

Permalink
fix: retention stock entry: grab conversion factor from source
Browse files Browse the repository at this point in the history
(cherry picked from commit 6954f53)
  • Loading branch information
marc-dll authored and mergify[bot] committed May 30, 2023
1 parent 6f43829 commit d8dd22a
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 d8dd22a

Please sign in to comment.