a59c36731f931c595953c447f4a408e58edc2471
When a lazy field was computed on-the-fly by a getter and later the field had its dependencies changed, the field was not recomputed. This happens because in this condition, the field is immediately recomputed, and the code was always clearing the "in-need" flags when recomputing the field. This commit fixes the issue by preserving these "in-need" flags at the end of the update cycle. Note that there's no way to detect reactive "unread", so a lazy field will keep its "in-need" at least for an extra update cycle. Also transition of field flag "on-need" becoming `true` and field was already "in-need" was not correctly computing/sorting the field. This commit also fixes this issue. Part-of: odoo/odoo#144999
…
…
…
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%