56a9636af335d4d507fb8f2d2a6a9cac3c107c65
The drag and drop mega test is quite simple: the python gets the list of all the snippets (by rendering a view + etree), then it just starts a JS tour by passing all those snippets in the tour URL. From there, the JS tour is in charged of building its own steps based on the list of snippets it received from the python. The MOST important part is to be 100% sure that the built steps are as expected: ~5 steps / snippets: ~220 steps with website only and ~280 steps with all modules. If we don't have that check, the tour could suddenly not test anything because the step list would be empty, but the test wouldn't fail. Thus, we don't want to programmatically try to compute that step amount but want it to remain an hardcoded number, which is lowered in this commit as if we have 220 (it could be 200, 150..) steps, it means that the steps were built as expected. Note that since the test is run on post_install, 280 was fine since all modules were installed. But the nightly build is also testing this test with only the website module, ultimately failing. Note that this check was actually not working at all since [1] as there was a typo on `length`. [1]: https://github.com/odoo/odoo/commit/61b19dafd1fb79120f701b94038bbe859aa2e271 closes odoo/odoo#94614 X-original-commit: 23c6b49ba43e6146143bf83bdfd7ce93934961ea 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%