From 314c7b8d2afa6abda3386b5f8f7dcf2ce659ffc0 Mon Sep 17 00:00:00 2001 From: rohitwaghchaure Date: Mon, 9 Dec 2024 14:55:47 +0530 Subject: [PATCH] fix: not able to make sales return entry (#44605) --- .../doctype/serial_and_batch_bundle/serial_and_batch_bundle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/stock/doctype/serial_and_batch_bundle/serial_and_batch_bundle.py b/erpnext/stock/doctype/serial_and_batch_bundle/serial_and_batch_bundle.py index fff9cbfc07d..4bd8f5e8465 100644 --- a/erpnext/stock/doctype/serial_and_batch_bundle/serial_and_batch_bundle.py +++ b/erpnext/stock/doctype/serial_and_batch_bundle/serial_and_batch_bundle.py @@ -223,7 +223,7 @@ class SerialandBatchBundle(Document): else: valuation_rate = valuation_details["batches"].get(row.batch_no) - row.incoming_rate = valuation_rate + row.incoming_rate = flt(valuation_rate) row.stock_value_difference = flt(row.qty) * flt(row.incoming_rate) if save: