Merge pull request #50121 from frappe/mergify/bp/version-14-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-16 15:02:52 +05:30
committed by GitHub

View File

@@ -496,7 +496,10 @@ class update_entries_after:
elif dependant_sle.voucher_type == "Stock Entry" and is_transfer_stock_entry(
dependant_sle.voucher_no
):
print(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