mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-13 17:53:49 +00:00
chore: fix test case
This commit is contained in:
@@ -757,8 +757,10 @@ class update_entries_after:
|
||||
if getdate(existing_sle.get("posting_date")) > getdate(dependant_sle.posting_date):
|
||||
self.distinct_item_warehouses[key] = val
|
||||
self.new_items_found = True
|
||||
elif dependant_sle.voucher_type == "Stock Entry" and is_transfer_stock_entry(
|
||||
dependant_sle.voucher_no
|
||||
elif (
|
||||
dependant_sle.actual_qty > 0
|
||||
and 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
|
||||
|
||||
Reference in New Issue
Block a user