9a127407c70947765ef0b6bd407e48ab0b96f649
Name was hard to grasp what it means, when in practice it refers to showing discuss failures in messaging menu. The "group" part just refers to a failure being conceptually uniquely defined so that it sometimes group notifications together as a single failure entry in the messaging menu. This rename will help simplifying insert flow with this model. [REF] mail: slightly simplify Notification.insert() Format `persona` so it can be immediately inserted in JS model. [REF] mail: simply Notification/Failure.insert [REF] mail: introduce computed fields on discuss models Some models have no concept in server, so the formatted data require specific handling to make some client-side specific models. This is notably the case with `Failure` model, which is used to group failure notifications per model for the specific showing in UI. In order to simplify update so they consists to simply adding data from server, these models should be inserted automatically depending on changes from inserted data. Since these models come from relational fields that must be computed outside of server data, we add support to computed fields: such relational fields can have their value automatically computed based on the state of the current record. [REF] mail: remove Record.atomically and Record.onChange These were added to reactive seeing intermediate state in models, which were caused by `RecordList.sort()`. This commit removes them and adapt specifically `RecordList.sort()` so intermediate states during sort is not exposed in the actual value of the many field. Part-of: odoo/odoo#138760
…
…
…
…
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%