Merge pull request #51923 from frappe/mergify/bp/version-15-hotfix/pr-51920

perf: prevent duplicate reposting for the same item (backport #51920)
This commit is contained in:
rohitwaghchaure
2026-01-20 18:01:07 +05:30
committed by GitHub

View File

@@ -752,7 +752,8 @@ class update_entries_after:
self.distinct_item_warehouses[key] = val
self.new_items_found = True
elif (
dependant_sle.actual_qty > 0
self.via_landed_cost_voucher
and dependant_sle.actual_qty > 0
and dependant_sle.voucher_type == "Stock Entry"
and is_transfer_stock_entry(dependant_sle.voucher_no)
):