summaryrefslogtreecommitdiff
path: root/addons/payment_stripe/controllers/main.py
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2017-11-15 15:50:36 +0100
committerChristophe Simonis <chs@odoo.com>2017-11-15 15:50:36 +0100
commit5877b7b38c6724e989b8eb361bcc48b714a2edd6 (patch)
tree3b7e178b68d1ffe46c601c34faea797bcbfe464c /addons/payment_stripe/controllers/main.py
parent6158c5ce04589d7e51928d2d19aa5b2eec05cebf (diff)
parent73e4dacf78a840acbd2bac1dc42ae790f58225aa (diff)
[MERGE] forward port branch saas-15 up to 73e4dacf78a
Diffstat (limited to 'addons/payment_stripe/controllers/main.py')
-rw-r--r--addons/payment_stripe/controllers/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/payment_stripe/controllers/main.py b/addons/payment_stripe/controllers/main.py
index bc9a775a330..edfb59dda9f 100644
--- a/addons/payment_stripe/controllers/main.py
+++ b/addons/payment_stripe/controllers/main.py
@@ -42,5 +42,5 @@ class StripeController(http.Controller):
response = tx._create_stripe_charge(tokenid=post['tokenid'], email=post['email'])
_logger.info('Stripe: entering form_feedback with post data %s', pprint.pformat(response))
if response:
- request.env['payment.transaction'].sudo().form_feedback(response, 'stripe')
+ request.env['payment.transaction'].sudo().with_context(lang=None).form_feedback(response, 'stripe')
return post.pop('return_url', '/')