fix: do reposting of first transfer entry based on item-wh combination

(cherry picked from commit 2f25b445ab)
This commit is contained in:
Rohit Waghchaure
2025-10-14 11:48:42 +05:30
committed by Mergify
parent 5909b0e1a2
commit e9d71e013a

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