Skip to content

Commit

Permalink
fix: Add common_filters parameter to get_queries to prevent required …
Browse files Browse the repository at this point in the history
…parameter errors in overridden methods from other apps (#5)
  • Loading branch information
KerollesFathy authored Aug 27, 2024
1 parent 0789e84 commit 023e899
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,7 @@ def get_queries(
filter_by_reference_date,
from_reference_date,
to_reference_date,
common_filters=None,
):
# get queries to get matching vouchers
account_from_to = "paid_to" if transaction.deposit > 0.0 else "paid_from"
Expand All @@ -491,6 +492,7 @@ def get_queries(
filter_by_reference_date,
from_reference_date,
to_reference_date,
common_filters,
)
or []
)
Expand Down

0 comments on commit 023e899

Please sign in to comment.