Skip to content

Commit

Permalink
refactor(test): filter for active ledger entries
Browse files Browse the repository at this point in the history
  • Loading branch information
ruthra-kumar committed Sep 3, 2024
1 parent b7edc6d commit cf11ac8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3973,7 +3973,7 @@ def test_ledger_entries_on_opening_invoice_with_rounding_loss_by_inclusive_tax(s
si.submit()
actual = frappe.db.get_all(
"GL Entry",
filters={"voucher_no": si.name, "is_opening": "Yes"},
filters={"voucher_no": si.name, "is_opening": "Yes", "is_cancelled": False},
fields=["account", "debit", "credit", "is_opening"],
order_by="account,debit",
)
Expand Down

0 comments on commit cf11ac8

Please sign in to comment.