fix: Ignore period closing voucher entries in accounts dashboard

This commit is contained in:
prssanna 2019-11-14 22:44:15 +05:30
parent f1e6387fab
commit 74bbcb539f

View File

@ -93,7 +93,8 @@ def get_gl_entries(account, to_date):
fields = ['posting_date', 'debit', 'credit'],
filters = [
dict(posting_date = ('<', to_date)),
dict(account = ('in', child_accounts))
dict(account = ('in', child_accounts)),
dict(voucher_type = ('!=', 'Period Closing Voucher'))
],
order_by = 'posting_date asc')