From fd5062eb633d29281b4f4ac68b02e7dbe1a0b9af Mon Sep 17 00:00:00 2001 From: nla-odoo Date: Thu, 21 Jun 2018 15:43:40 +0530 Subject: [PATCH] [FIX] payment_stripe: fix usage of removed 'refunding' state on payment.transaction Since 0121634#diff-dc63c46ab28cd7b4ad9c17f2ccc3fbc7L491, the 'refunding' state no longer exists. --- addons/payment_stripe/models/payment.py | 1 - 1 file changed, 1 deletion(-) diff --git a/addons/payment_stripe/models/payment.py b/addons/payment_stripe/models/payment.py index fbd01e2d5ad..ee2b6db26d5 100644 --- a/addons/payment_stripe/models/payment.py +++ b/addons/payment_stripe/models/payment.py @@ -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)