Ir al contenido
Menú
Se marcó esta pregunta
1047 Vistas

When running v17 I encounter following error in the Odoo default template.

This happens because of in the addons/website_sale/views/templates.xml file. Anyone any ideas why this error pops up? And how to fix it?


  File "C:\Odoo\odoo\odoo\addons\base\models\ir_qweb.py", line 763, in _generate_code

    raise QWebException("Error when compiling xml template",

odoo.addons.base.models.ir_qweb.QWebException: Error when compiling xml template

ValueError: forbidden opcode(s) in 'True if show_footer is None else not show_footer': POP_JUMP_FORWARD_IF_NOT_NONE

Template: website_sale.checkout_layout

Path: /t/t/t[1]

Node:

2023-10-31 15:32:22,847 14328 INFO kbc_shop1 werkzeug: 127.0.0.1 - - [31/Oct/2023 15:32:22] "GET /shop/cart HTTP/1.1" 500 - 83 0.183 0.526

Avatar
Descartar