diff --git a/erpnext/stock/stock_ledger.py b/erpnext/stock/stock_ledger.py index 76ad47fb2f2..d00d092e795 100644 --- a/erpnext/stock/stock_ledger.py +++ b/erpnext/stock/stock_ledger.py @@ -753,7 +753,7 @@ class update_entries_after: self.new_items_found = True elif ( 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) ): if self.distinct_item_warehouses[key].get("transfer_entry_to_repost"):