diff --git a/addons/payment/models/account_payment.py b/addons/payment/models/account_payment.py index e324b033ce8..efde15eaf68 100644 --- a/addons/payment/models/account_payment.py +++ b/addons/payment/models/account_payment.py @@ -83,11 +83,6 @@ class AccountPayment(models.Model): return transactions - def action_validate_invoice_payment(self): - res = super(AccountPayment, self).action_validate_invoice_payment() - self.mapped('payment_transaction_id').filtered(lambda x: x.state == 'done' and not x.is_processed)._post_process_after_done() - return res - def action_post(self): # Post the payments "normally" if no transactions are needed. # If not, let the acquirer updates the state.