fix: Missing opening entry in general ledger (#33519)

This commit is contained in:
Deepesh Garg 2023-01-03 21:35:03 +05:30 committed by GitHub
parent 1a83a67d41
commit c78399c618
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -239,7 +239,7 @@ def get_conditions(filters):
):
conditions.append("(posting_date >=%(from_date)s or is_opening = 'Yes')")
conditions.append("(posting_date <=%(to_date)s)")
conditions.append("(posting_date <=%(to_date)s or is_opening = 'Yes')")
if filters.get("project"):
conditions.append("project in %(project)s")