5cea16ab7e1a1244479a21117ac06faeb035d2c9
Previously, when completing the last step of a tour by hand, the tour manager attempts to make an RPC to consume the tour in the backend. This used to crash with an error saying parent._trigger_up is not defined. This was caused by the root.widget, which is the tour manager parent, not being a real instance of ComponentAdapter, but an object created with the ComponentAdapter as it's protorype. To give it access to _trigger_up, it should be created with the ComponentAdapter's prototype as its prototype, but this would still fail as it wouldn't have the correct environment containing the rpc service. The simple solution is to create a real instance of the ComponentAdapter by hand. Although owl 2 does not support instanciating components by hand and mounting them later, we will never mount this component or use any of its owl features, we are simply using it to replace what used to be the ServiceProvider in legacy. closes odoo/odoo#85221 Signed-off-by: Aaron Bohy (aab) <aab@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%