Trust-Code / trust-addons

Odoo Addons developed by Trustcode
http://www.trustcode.com.br/
GNU Affero General Public License v3.0
10 stars 29 forks source link

Falha ao processar o carrinho de compras #32

Open marcos-mendez opened 5 years ago

marcos-mendez commented 5 years ago

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 commented 5 years ago

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