From f0e2696b9a4e2b832c56d5bc5bccf91820bf5004 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 21 Jun 2024 14:26:49 +0200 Subject: [PATCH] Allow stripe refund to transition from succeeded to failed For asynchronous charge the refund may fail after being succeeded. #13355 --- modules/account_payment_stripe/payment.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/account_payment_stripe/payment.py b/modules/account_payment_stripe/payment.py index f7a60410c5..940bdd6187 100644 --- a/modules/account_payment_stripe/payment.py +++ b/modules/account_payment_stripe/payment.py @@ -728,6 +728,7 @@ class Refund(Workflow, ModelSQL, ModelView): ('approved', 'processing'), ('processing', 'succeeded'), ('processing', 'failed'), + ('succeeded', 'failed'), ('approved', 'draft'), )) cls._buttons.update({