mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-12 17:51:20 +00:00
Merge pull request #34745 from frappe/mergify/bp/develop/pr-34737
fix: don't include cancelled JVs in assdeprledger report (backport #34737)
This commit is contained in:
@@ -25,6 +25,7 @@ def get_data(filters):
|
|||||||
["posting_date", "<=", filters.get("to_date")],
|
["posting_date", "<=", filters.get("to_date")],
|
||||||
["against_voucher_type", "=", "Asset"],
|
["against_voucher_type", "=", "Asset"],
|
||||||
["account", "in", depreciation_accounts],
|
["account", "in", depreciation_accounts],
|
||||||
|
["is_cancelled", "=", 0],
|
||||||
]
|
]
|
||||||
|
|
||||||
if filters.get("asset"):
|
if filters.get("asset"):
|
||||||
|
|||||||
Reference in New Issue
Block a user