Skip to content

Commit

Permalink
Merge pull request #35459 from marc-dll/FIX_retention_stock_entry_con…
Browse files Browse the repository at this point in the history
…version_factor

fix: retention stock entry: grab conversion factor from source
  • Loading branch information
s-aga-r committed May 30, 2023
2 parents df921b7 + 91ca266 commit 7a3d16f
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 @@ -2398,7 +2398,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 7a3d16f

Please sign in to comment.