86e5ae79544b90cdbaa0fcd616fcaced9087ec0b
Since [1], there would be a traceback due to a wrong DOM selector in the `configurator_tour`. Indeed, completing the configurator will activate the configurator_tour asset which is calling a broken clickOnSnippet tour util to generate an appropriate homepage tour. It would end up with the following selector: `o_website_preview[data-view-xmlid='website.homepage'] iframe #wrapwrap .#wrap > section:nth-child(2)` See the `.#wrap` which is incorrect and make jQuery crash. This is because [1] adapted the tour utils to the new WebsitePreview client action, but the clickOnSnippet function was wrongly changed and could now be generating wrong triggers selector. It was creating invalid selectors as it was concatenating a `.` with the provided string parameter which was basically a class without the `.`, like `s_popup`, but not in all cases. A whole valid selector could also be provided, meaning that concatenating it with a leading `.` would result in incorrect selector. Basically, this commit revert the change made on [1] in `clickOnSnippet` to restore the code of [2] that was preventing the wrong selector creation. [1]: https://github.com/odoo/odoo/commit/99b50d18e220aedf14de806f4bf1b2d35c32de35 [2]: https://github.com/odoo/odoo/commit/e8a5af2e28a4724f86783746706cb59175f086bf opw-3026167 closes odoo/odoo#103651 X-original-commit: 26c4e4a13b642e2856495a8c1f5a36afe3996c02 Signed-off-by: Romain Derie (rde) <rde@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%