[FIX] payment_authorize: flag tokens as verified

task-2612977

closes odoo/odoo#74568

Signed-off-by: Antoine Vandevenne (anv) <AntoineVDV@users.noreply.github.com>
This commit is contained in:
Antoine Vandevenne (anv)
2021-08-02 12:38:29 +00:00
parent bc065bda55
commit b0874bc234
@@ -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,