Merge pull request #50068 from frappe/mergify/bp/version-15-hotfix/pr-50061

fix: do reposting of first transfer entry based on item-wh combination (backport #50061)
This commit is contained in:
rohitwaghchaure
2025-10-14 13:21:13 +05:30
committed by GitHub

View File

@@ -732,6 +732,10 @@ class update_entries_after:
elif dependant_sle.voucher_type == "Stock Entry" and is_transfer_stock_entry(
dependant_sle.voucher_no
):
if self.distinct_item_warehouses[key].get("transfer_entry_to_repost"):
return
val["transfer_entry_to_repost"] = True
self.distinct_item_warehouses[key] = val
self.new_items_found = True