Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Falha ao processar o carrinho de compras #32

Open
marcos-mendez opened this issue Aug 19, 2019 · 1 comment
Open

Falha ao processar o carrinho de compras #32

marcos-mendez opened this issue Aug 19, 2019 · 1 comment

Comments

@marcos-mendez
Copy link

Server Error:
We are not able to redirect you to the payment form. unorderable types: str() > int()

Exception during JSON request handling.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/http.py", line 653, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 312, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/usr/lib/python3/dist-packages/odoo/tools/pycompat.py", line 87, in reraise
raise value
File "/usr/lib/python3/dist-packages/odoo/http.py", line 695, in dispatch
result = self._call_function(**self.params)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 344, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 97, in wrapper
return f(dbname, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 337, in checked_call
result = self.endpoint(*a, **kw)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 939, in call
return self.method(*args, **kw)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 517, in response_wrap
response = f(*args, **kw)
File "/usr/lib/python3/dist-packages/odoo/addons/website_sale/controllers/main.py", line 859, in payment_transaction
return tx.render_sale_button(order, '/shop/payment/validate')
File "/usr/lib/python3/dist-packages/odoo/addons/sale_payment/models/payment.py", line 214, in render_sale_button
values=values,
File "/usr/lib/python3/dist-packages/odoo/addons/payment/models/payment_acquirer.py", line 429, in render
values = method(values)
File "/usr/lib/python3/dist-packages/odoo/custom-addons/br_payment_cielo/models/cielo.py", line 74, in cielo_form_generate_values
if (order.partner_id.street2) > 0:
TypeError: unorderable types: str() > int()

@danimaribeiro
Copy link
Member

Não damos mais suporte a versão 10.0, o problema não será corrigido.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants