Fix balance on the balance sheet
issue3132 review775002
This commit is contained in:
1 parent
4db600d69a
commit
34694d99eb
1 file changed
+1
-2
+1
-2
@@ -238,8 +238,7 @@ class Type(ModelSQL, ModelView):
|
||||
('type', 'in', [t.id for t in childs]),
|
||||
])
|
||||
for account in accounts:
|
||||
type_sum[account.type.id] += account.company.currency.round(
|
||||
account.debit - account.credit)
|
||||
type_sum[account.type.id] += account.balance
|
||||
|
||||
for type_ in types:
|
||||
childs = cls.search([
|
||||
|
||||
Reference in new issue
Block a user