Skip to content

Commit

Permalink
refactor: posting date is not considered for ignore filters in GL
Browse files Browse the repository at this point in the history
  • Loading branch information
ruthra-kumar committed Aug 6, 2024
1 parent 05b92c5 commit c930f8b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions erpnext/accounts/report/general_ledger/general_ledger.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,6 @@ def get_conditions(filters):
"company": filters.get("company"),
"docstatus": 1,
"voucher_type": ("in", ["Exchange Rate Revaluation", "Exchange Gain Or Loss"]),
"posting_date": ["between", [filters.get("from_date"), filters.get("to_date")]],
},
as_list=True,
)
Expand All @@ -245,7 +244,6 @@ def get_conditions(filters):
"docstatus": 1,
"voucher_type": ("in", ["Credit Note", "Debit Note"]),
"is_system_generated": 1,
"posting_date": ["between", [filters.get("from_date"), filters.get("to_date")]],
},
as_list=True,
)
Expand Down

0 comments on commit c930f8b

Please sign in to comment.