Skip the reconciliation of already reconciled lines with debit == credit == 0
Closes #14679 (grafted from cfe486ca357ad690f6926880639dc1a617fc1ee8) --HG-- branch : 7.0
This commit is contained in:
1 parent
16034d1882
commit
a8d70091a3
1 file changed
+1
@@ -497,6 +497,7 @@ class Move(DescriptionOriginMixin, ModelSQL, ModelView):
|
||||
where=reduce_ids(line.move, sub_moves_ids)
|
||||
& (line.debit == Decimal(0))
|
||||
& (line.credit == Decimal(0))
|
||||
& (line.reconciliation == Null)
|
||||
& ((line.amount_second_currency == Null)
|
||||
| (line.amount_second_currency == Decimal(0)))
|
||||
))
|
||||
|
||||
Reference in new issue
Block a user