Show approve button on Stripe refund payment when submitted

Closes #14599
This commit is contained in:
Cédric Krier
2026-02-10 19:30:10 +01:00
parent 6f8abf2d5f
commit 4435474f3e
+1 -1
View File
@@ -835,7 +835,7 @@ class Refund(Workflow, ModelSQL, ModelView):
'depends': ['state'],
},
'approve': {
'invisible': Eval('state') != 'draft',
'invisible': Eval('state') != 'submitted',
'icon': 'tryton-forward',
'depends': ['state'],
},