d5d797360ad8dd057e00ec4a9d9ae4c5ba5b5276
Before this commit, if a SyntaxError or any other exception occurs in a qweb attribute, and the path to the node contains at least one namespaced tag, e.g.: <mynode:node xmlns:mynode="http://example.com/mynode"> <field t-att-value="'This is a TypeError' + []"/> </mynode:node> the following exception is raised, instead of the actual one: lxml.etree.XPathEvalError: Undefined namespace prefix After this commit, if the path to the failing node contains a namespaced tag, the node is not retrieved, to avoid the above exception, So this one will be raised: Error to render compiling AST TypeError: Can't convert 'list' object to str implicitly Template: module.template_name Path: /templates/mynode:node/field In addition, a test case was included, to ensure this works as expected Closes #24824 opw-1853232
…
…
…
…
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, Purchase Management, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
Then follow the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%