fix: don't include cancelled JVs in assdeprledger report

(cherry picked from commit 3896d41e95a2054b4ec76c5f5b2819b3f28ef98e)
This commit is contained in:
anandbaburajan 2023-04-04 17:49:16 +05:30 committed by Mergify
parent 12325cb685
commit 1101b7bfdf

View File

@ -25,6 +25,7 @@ def get_data(filters):
["posting_date", "<=", filters.get("to_date")],
["against_voucher_type", "=", "Asset"],
["account", "in", depreciation_accounts],
["is_cancelled", "=", 0],
]
if filters.get("asset"):