mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-15 12:55:10 +00:00
perf: prevent duplicate reposting for the same item
(cherry picked from commit 7535931571)
This commit is contained in:
committed by
Mergify
parent
9535f3d583
commit
3ac431bd50
@@ -758,7 +758,8 @@ class update_entries_after:
|
|||||||
self.distinct_item_warehouses[key] = val
|
self.distinct_item_warehouses[key] = val
|
||||||
self.new_items_found = True
|
self.new_items_found = True
|
||||||
elif (
|
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 dependant_sle.voucher_type == "Stock Entry"
|
||||||
and is_transfer_stock_entry(dependant_sle.voucher_no)
|
and is_transfer_stock_entry(dependant_sle.voucher_no)
|
||||||
):
|
):
|
||||||
|
|||||||
Reference in New Issue
Block a user