From 81f19b950d0384abc250573540b5fa8189984a36 Mon Sep 17 00:00:00 2001 From: ravibharathi656 Date: Fri, 24 Oct 2025 18:31:44 +0530 Subject: [PATCH] fix(asset depreciations and balances): showing opening entries (cherry picked from commit d3afa67be309be59c1e48d27d581d7926ddad0cb) --- .../asset_depreciations_and_balances.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/erpnext/accounts/report/asset_depreciations_and_balances/asset_depreciations_and_balances.py b/erpnext/accounts/report/asset_depreciations_and_balances/asset_depreciations_and_balances.py index c196d52d744..57c81712cc1 100644 --- a/erpnext/accounts/report/asset_depreciations_and_balances/asset_depreciations_and_balances.py +++ b/erpnext/accounts/report/asset_depreciations_and_balances/asset_depreciations_and_balances.py @@ -273,6 +273,7 @@ def get_asset_value_adjustment_map_by_category(filters): AND a.company = %(company)s AND a.purchase_date <= %(to_date)s AND gle.account = aca.fixed_asset_account + AND gle.is_opening = 'No' GROUP BY a.asset_category """, {"from_date": filters.from_date, "to_date": filters.to_date, "company": filters.company}, @@ -543,6 +544,7 @@ def get_asset_value_adjustment_map(filters): AND a.company = %(company)s AND a.purchase_date <= %(to_date)s AND gle.account = aca.fixed_asset_account + AND gle.is_opening = 'No' GROUP BY a.name """, {"from_date": filters.from_date, "to_date": filters.to_date, "company": filters.company},