fix(stock): value a transfer's inward leg at what left the source on repost

(cherry picked from commit 27303023b9)

# Conflicts:
#	erpnext/stock/stock_ledger.py
This commit is contained in:
Mihir Kandoi
2026-10-25 15:52:06 +00:00
committed by Mergify
parent 3ba43326e2
commit 82733765b1
+5
View File
@@ -1028,7 +1028,12 @@ class update_entries_after:
# Get dynamic incoming/outgoing rate
if not self.args.get("sle_id"):
self.get_dynamic_incoming_outgoing_rate(sle)
<<<<<<< HEAD
elif self.is_inward_transfer_leg(sle) and not sle.serial_and_batch_bundle:
=======
if self.is_inward_transfer_leg(sle) and not self.has_bundle_valuation(sle):
>>>>>>> 2730302 (fix(stock): value a transfer's inward leg at what left the source on repost)
sle.incoming_rate = self.get_incoming_rate_from_outward_leg(sle)
if self.is_produced_row(sle) and not sle.serial_and_batch_bundle: