Merge pull request #49925 from frappe/mergify/bp/version-15-hotfix/pr-49870

fix: show asset value as revaluation amount or gross purchase amount (backport #49870)
This commit is contained in:
ruthra kumar
2025-10-07 10:02:28 +05:30
committed by GitHub

View File

@@ -268,6 +268,7 @@ def get_asset_depreciation_amount_map(filters, finance_book):
.where(gle.account == IfNull(aca.depreciation_expense_account, company.depreciation_expense_account))
.where(gle.debit != 0)
.where(gle.is_cancelled == 0)
.where(gle.is_opening == "No")
.where(company.name == filters.company)
.where(asset.docstatus == 1)
)