From b0874bc234054fa8744fbf029d439a1622f9a0c4 Mon Sep 17 00:00:00 2001 From: "Antoine Vandevenne (anv)" Date: Mon, 2 Aug 2021 12:38:29 +0000 Subject: [PATCH] [FIX] payment_authorize: flag tokens as verified task-2612977 closes odoo/odoo#74568 Signed-off-by: Antoine Vandevenne (anv) --- addons/payment_authorize/models/payment_transaction.py | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/payment_authorize/models/payment_transaction.py b/addons/payment_authorize/models/payment_transaction.py index c6d41252603..b12500d5dca 100644 --- a/addons/payment_authorize/models/payment_transaction.py +++ b/addons/payment_authorize/models/payment_transaction.py @@ -171,6 +171,7 @@ class PaymentTransaction(models.Model): 'partner_id': self.partner_id.id, 'acquirer_ref': cust_profile.get('payment_profile_id'), 'authorize_profile': cust_profile.get('profile_id'), + 'verified': True, }) self.write({ 'token_id': token.id,