Fixed the journal to display the brought-forward records with balance larger than zero in the accounting application.
This commit is contained in:
parent
2335a4b4a8
commit
9d188ff96b
@ -484,7 +484,7 @@ def journal(request, period):
|
||||
default=1
|
||||
) * F("record__amount"),
|
||||
filter=Q(record__transaction__date__lt=period.start)))\
|
||||
.filter(~Q(balance__gt=0))
|
||||
.filter(~Q(balance=0))
|
||||
debit_records = [Record(
|
||||
transaction=Transaction(date=period.start),
|
||||
account=x,
|
||||
|
Loading…
Reference in New Issue
Block a user