mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-15 19:19:17 +00:00
@@ -751,8 +751,10 @@ class update_entries_after:
|
|||||||
if getdate(existing_sle.get("posting_date")) > getdate(dependant_sle.posting_date):
|
if getdate(existing_sle.get("posting_date")) > getdate(dependant_sle.posting_date):
|
||||||
self.distinct_item_warehouses[key] = val
|
self.distinct_item_warehouses[key] = val
|
||||||
self.new_items_found = True
|
self.new_items_found = True
|
||||||
elif dependant_sle.voucher_type == "Stock Entry" and is_transfer_stock_entry(
|
elif (
|
||||||
dependant_sle.voucher_no
|
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"):
|
if self.distinct_item_warehouses[key].get("transfer_entry_to_repost"):
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user