From 541969fb97cba2194c540010c8ccbd27bcf4e44f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 10 Feb 2026 19:30:10 +0100 Subject: [PATCH] Show approve button on Stripe refund payment when submitted Closes #14599 (grafted from 0359c8ecc314160ac16e60af001b2d3ae1aebd1a) --HG-- branch : 7.0 --- modules/account_payment_stripe/payment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/account_payment_stripe/payment.py b/modules/account_payment_stripe/payment.py index 294df64dda..02c434c736 100644 --- a/modules/account_payment_stripe/payment.py +++ b/modules/account_payment_stripe/payment.py @@ -786,7 +786,7 @@ class Refund(Workflow, ModelSQL, ModelView): 'depends': ['state'], }, 'approve': { - 'invisible': Eval('state') != 'draft', + 'invisible': Eval('state') != 'submitted', 'icon': 'tryton-forward', 'depends': ['state'], },