[FIX] payment_stripe: fix usage of removed 'refunding' state on payment.transaction
Since 0121634#diff-dc63c46ab28cd7b4ad9c17f2ccc3fbc7L491, the 'refunding' state no longer exists.
This commit is contained in:
@@ -156,7 +156,6 @@ class PaymentTransactionStripe(models.Model):
|
||||
@api.multi
|
||||
def stripe_s2s_do_refund(self, **kwargs):
|
||||
self.ensure_one()
|
||||
self.state = 'refunding'
|
||||
result = self._create_stripe_refund()
|
||||
return self._stripe_s2s_validate_tree(result)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user