379a67e6dee4fe45c94e544ff31415d4c963348e
The RPC that the m2o widgets used by snippet options make are cached at the widget level. When two m2o widgets make the same RPC, they are indeed made twice. This commit just move the cache outside of the widget instance and thus makes it so the same RPC made across multiple m2o are cached. Note: this was particularly visible because all main snippets have the "Conditional Visibility" option which uses 3 m2m widgets. At each drop of such main snippet in the page, the option is created and the 3 m2m widgets made their RPC. Then each further drop of snippet made the exact same RPC for no good reason. In the future, the system should be further improved to not require those RPC on initial drop and clicks, especially as the "Conditional Visibility" m2m widgets are hidden by default. This fix focuses on fixing the generic m2m widgets. closes odoo/odoo#102800 X-original-commit: 8e08c896df9ed5a7a0e559f1dbd8812f87908a39 Signed-off-by: Quentin Smetz (qsm) <qsm@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%