fix: Ignore period closing voucher entries in accounts dashboard
This commit is contained in:
parent
f1e6387fab
commit
74bbcb539f
@ -93,7 +93,8 @@ def get_gl_entries(account, to_date):
|
|||||||
fields = ['posting_date', 'debit', 'credit'],
|
fields = ['posting_date', 'debit', 'credit'],
|
||||||
filters = [
|
filters = [
|
||||||
dict(posting_date = ('<', to_date)),
|
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')
|
order_by = 'posting_date asc')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user