mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[IMP] account_document_reversal: Exclude cancelled payments from bank reconciliation
This commit is contained in:
@@ -39,4 +39,5 @@ class AccountPayment(models.Model):
|
||||
for payment in payments_to_revert:
|
||||
payment.unreconcile()
|
||||
payment.action_document_reversal(date=date, journal_id=journal_id)
|
||||
self.write({"move_name": False})
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user