7f60eaa2a41176ed578c8dd8a28f79a3c2b37de4
Since saas-12.3, deferred actions use native promises. This has the annoying side-effect of force-deferring promises even if they are resolved at once... and we relied on the opposite behavior for some call made in _setActive or option methods. In master, we should review the async logic of snippet options. Right now we will rely on the fact those promises are resolved at once but that we need to avoid for their "async part" anyway. The _setActive method and the option methods are thus still working synchronously in stable, despite the new force-deferring promises. Also, with old promises, when we waited for the resolution of multiple deferred, the resolve handler received the multiple results as individual arguments. Now it receives all the results in an array as a single argument. The resolution of action demands had to be adapted. closes odoo/odoo#39171 X-original-commit: 30d15315a73c1fa34ada86371b06c02b6375db89 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, Purchase Management, ...
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.
Then follow the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%