From 4e700059379f4c9444faaf3133b3d9978e0c40f7 Mon Sep 17 00:00:00 2001 From: Rohit Waghchaure Date: Thu, 19 Jun 2025 19:33:26 +0530 Subject: [PATCH] fix: target inventory dimension for stock entry (cherry picked from commit d65cb56d662b998198bfc26df60253c528439362) --- erpnext/controllers/stock_controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/controllers/stock_controller.py b/erpnext/controllers/stock_controller.py index 3654ad5e6c5..d6930312b77 100644 --- a/erpnext/controllers/stock_controller.py +++ b/erpnext/controllers/stock_controller.py @@ -909,7 +909,7 @@ class StockController(AccountsController): fieldname = f"{dimension.source_fieldname}" sl_dict[dimension.target_fieldname] = row.get(fieldname) - return + continue sl_dict[dimension.target_fieldname] = row.get(dimension.source_fieldname) else: