39e56939fd75c69ee177c25b88d8cee0bec372eb
- `__invs__`/`RecordInverses` have been renamed to `__uses__`/`RecordUses`, so that it's more clearly separated from inverse fields. While they are some overlap in concepts, they require different datastructures so it's best to keep different implementations for the time being. - `list.__addInverse__(r)`/`list.__deleteInverse__(r)` have been replaced to `r.__uses__.add(list)`/`r.__uses__.delete(list)`. Again change of wording "inverse" to "uses" like before, but also it feels more natural for uses as low-level concept to expose function on object where the uses are tracked, i.e. on the record, rather than functions in RecordList like before. - Remove useless `__` prefix/suffix and/or only keep `_` prefix for `store` and `__addNoInv`/`__deleteNoInv`, for improved code readability - Renamed `__list__` and `__map__` datastructures to `data`, again for improved code readability. - Replaced some `Map<>` to `Object<>`, so that accessors are easier to read in code with `[]` rather than `.set()`/`.get()`, especially with code formatter that produces more LOCs than necessary with the latter. Note that the affected dict, `__computes__` and `__rels__` are set up at model and record setup, so they do not change shape after that, so using Object should not be a performance issue. 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%