2005c386794a595fe93fa3f38d5633bb6f95cf65
Before this commit, the key for the cache of compiled templates (in the useViewCompiler hook) only relied on the arch, i.e. we had a cache hit if we had to compile an arch that had already been compiled before. However, the Compiler to use might change. When this happens, the template must be re-compiled, obviously, as the ouput may differ. For instance, have a kanban arch with a js_class (pointing to a custom view with a custom compiler), and have that arch used in an x2many (where js_class is ignored, i.e. where it is rendered with the basic kanban renderer). This happens in project, with the task kanban view, which is also used for the child_ids field, in the task form view. This could lead to traceback, as the compiled template might refer to attributes of a the KanbanRecord that only exist on the custom KanbanRecord, not on the basic one. Part-of: odoo/odoo#148351
…
…
…
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, ...
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.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%