mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-14 07:47:12 +00:00
Merge pull request #4502 from nabinhait/general_ledger_fix
[fix][report] General Ledger
This commit is contained in:
@@ -178,7 +178,8 @@ def get_data_with_opening_closing(filters, account_details, gl_entries):
|
||||
|
||||
else:
|
||||
for gl in gl_entries:
|
||||
if gl.posting_date >= getdate(filters.from_date) and gl.posting_date <= getdate(filters.to_date):
|
||||
if gl.posting_date >= getdate(filters.from_date) and gl.posting_date <= getdate(filters.to_date) \
|
||||
and gl.is_opening == "No":
|
||||
data.append(gl)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user