Skip to content
Snippets Groups Projects
Commit 784cdf97 authored by Cédric Snauwaert's avatar Cédric Snauwaert
Browse files

[FIX] account: fix error in aged partner balance, variable at_least_one_amount...

[FIX] account: fix error in aged partner balance, variable at_least_one_amount referenced before assignment
parent fea0fef7
Branches
Tags
No related merge requests found
......@@ -128,6 +128,7 @@ class ReportAgedPartnerBalance(models.AbstractModel):
history.append(partners_amount)
for partner in partners:
at_least_one_amount = False
values = {}
# Query here is replaced by one query which gets the all the partners their 'after' value
after = False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment