From d65cb56d662b998198bfc26df60253c528439362 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 --- 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 08ff9845fa2..2d061b959fc 100644 --- a/erpnext/controllers/stock_controller.py +++ b/erpnext/controllers/stock_controller.py @@ -1020,7 +1020,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: