Show approve button on Stripe refund payment when submitted

Closes #14599
(grafted from 0359c8ecc314160ac16e60af001b2d3ae1aebd1a)

--HG--
branch : 7.0
This commit is contained in:
Cédric Krier
2026-02-10 19:30:10 +01:00
parent b1a091fa02
commit 541969fb97
+1 -1
View File
@@ -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'],
},