mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-21 19:25:16 +00:00
@@ -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.account == IfNull(aca.depreciation_expense_account, company.depreciation_expense_account))
|
||||||
.where(gle.debit != 0)
|
.where(gle.debit != 0)
|
||||||
.where(gle.is_cancelled == 0)
|
.where(gle.is_cancelled == 0)
|
||||||
|
.where(gle.is_opening == "No")
|
||||||
.where(company.name == filters.company)
|
.where(company.name == filters.company)
|
||||||
.where(asset.docstatus == 1)
|
.where(asset.docstatus == 1)
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user