[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:
nla-odoo
2018-06-21 12:13:40 +02:00
committed by Laurent Smet
parent 66f5367c39
commit fd5062eb63
-1
View File
@@ -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)