details: https://code.tryton.org/tryton/commit/0359c8ecc314
branch: default
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
diffstat:
modules/account_payment_stripe/payment.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 00f2a2cdb092 -r 0359c8ecc314 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
@@ -835,7 +835,7 @@
'depends': ['state'],
},
'approve': {
- 'invisible': Eval('state') != 'draft',
+ 'invisible': Eval('state') != 'submitted',
'icon': 'tryton-forward',
'depends': ['state'],
},