fix: target inventory dimension for stock entry

(cherry picked from commit d65cb56d66)
(cherry picked from commit 4e70005937)
This commit is contained in:
Rohit Waghchaure
2025-06-19 19:33:26 +05:30
committed by Mergify
parent e0ca060475
commit 0958a3b643

View File

@@ -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: