2c7b10ed56045ae440a658b4aac4f9f1868a2f73
odoo/odoo#87522 introduced the concept to automatically inline tree, kanban and form views under one2many/many2many fields within form views. The goal being for the web client to make less `get_views` calls. However, currently, automatically inlined form views under one2many/many2many fields leads to more triggered onchanges than before, triggering more field computations than before, potentially leading to performance issues as more fields are computed than before. Besides, they are not visible in the tree/kanban view and their computation can therefore be considered useless. At worst, it can even causes bugs, by triggering computation in places they were not used / do not handle correctly, as explained in https://github.com/odoo/odoo/pull/87522#issuecomment-1132554918 odoo/odoo#91878 This revision reverts the behavior to automatically inline form views, while keeping the inlining of kanban/tree views. However, by reverting this, we re-introduce a limitation of the web client behavior regarding onchanges, explained in odoo/odoo#91935. This is therefore not perfect, but at least the previous behavior is back. In the future, work will be done to re-introduce the automatically inlined form view, while solving both issues: - Do not trigger more onchanges than necessary, - Solve the limitation of the web client shown in odoo/odoo#91935 closes odoo/odoo#91968 Signed-off-by: Denis Ledoux (dle) <dle@odoo.com>
…
…
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%