details:   https://code.tryton.org/tryton/commit/b3c8f2ce9773
branch:    7.0
user:      Cédric Krier <[email protected]>
date:      Tue Feb 10 19:30:10 2026 +0100
description:
        Show approve button on Stripe refund payment when submitted

        Closes #14599
        (grafted from 0359c8ecc314160ac16e60af001b2d3ae1aebd1a)
diffstat:

 modules/account_payment_stripe/payment.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r e5bd6ecbd251 -r b3c8f2ce9773 modules/account_payment_stripe/payment.py
--- a/modules/account_payment_stripe/payment.py Tue Feb 10 17:53:53 2026 +0100
+++ b/modules/account_payment_stripe/payment.py Tue Feb 10 19:30:10 2026 +0100
@@ -786,7 +786,7 @@
                     'depends': ['state'],
                     },
                 'approve': {
-                    'invisible': Eval('state') != 'draft',
+                    'invisible': Eval('state') != 'submitted',
                     'icon': 'tryton-forward',
                     'depends': ['state'],
                     },

Reply via email to