Skip to content

Commit

Permalink
fix: don't include cancelled JVs in assdeprledger report (frappe#34737)
Browse files Browse the repository at this point in the history
fix: don't include cancelled JVs in assdeprledger report

(cherry picked from commit 3896d41)

Co-authored-by: anandbaburajan <anandbaburajan@gmail.com>
  • Loading branch information
mergify[bot] and anandbaburajan authored Apr 5, 2023
1 parent 92a26dd commit 3007ac3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"):
Expand Down

0 comments on commit 3007ac3

Please sign in to comment.