perf: prevent duplicate reposting for the same item

This commit is contained in:
Rohit Waghchaure
2026-01-20 17:12:31 +05:30
parent 83919119f8
commit 7535931571

View File

@@ -756,7 +756,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)
):