mirror of
https://bitbucket.org/presik/trytonpsk-staff_payroll_co.git
synced 2023-12-14 06:42:56 +01:00
minor fix
This commit is contained in:
parent
4ed96a17c8
commit
9e76c5b845
|
@ -115,7 +115,7 @@ class Payroll(metaclass=PoolMeta):
|
|||
}})
|
||||
for p in self.move.lines:
|
||||
if p.account.id not in grouped or (
|
||||
p.account.type.statement not in ('balance')):
|
||||
p.account.type.statement not in ('balance')) or p.reconciliation:
|
||||
continue
|
||||
to_reconcile = [p] + grouped[p.account.id]['lines']
|
||||
amount = sum([(r.debit - r.credit) for r in to_reconcile])
|
||||
|
|
Loading…
Reference in a new issue