From 01af6c876262bf03077503ad7c12e23b9def9fca Mon Sep 17 00:00:00 2001 From: Rohit Waghchaure Date: Fri, 9 Jan 2026 17:29:09 +0530 Subject: [PATCH] fix: incoming rate calculation (cherry picked from commit 8e143d68b4bc769836305256902511c7b89a3fd0) --- erpnext/stock/serial_batch_bundle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/stock/serial_batch_bundle.py b/erpnext/stock/serial_batch_bundle.py index df29ec03b73..e7ad3c5de5b 100644 --- a/erpnext/stock/serial_batch_bundle.py +++ b/erpnext/stock/serial_batch_bundle.py @@ -715,7 +715,7 @@ class SerialNoValuation(DeprecatedSerialNoValuation): ) .select( bundle_child.serial_no, - (bundle_child.incoming_rate * bundle_child.qty).as_("incoming_rate"), + bundle_child.incoming_rate, ) <<<<<<< HEAD .orderby(Timestamp(bundle.posting_date, bundle.posting_time), order=Order.desc)