Skip the reconciliation of already reconciled lines with debit == credit == 0
Closes #14679
This commit is contained in:
@@ -499,6 +499,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