7cea6c598044190e12d0dd2cd9939a8c70c76185
The test 'buttons with attr "special" in dialog close the dialog' sometimes fail on runbot because it can't click on 'Create and edit...' inside the many2one dropdown. Before this commit, the test edited the many2one as follows: 1) edit input to write a new value (with editInput) 2) click on the input to open the dropdown 3) click on 'Create and edit...' in the input But calling editInput opens the dropdown (even though the opening is a bit debounced, which is why it only failed sometimes). So it might happens, in rare cases, that the dropdown is already opened when we click in the input (step 2), which closes it and makes step 3 fail. This commit changes the test to do something similar as what we do in many2one_tests.js: we patch setTimeout to execute the callback directly, and thus remove the opening delay. We call editInput which triggers the opening of the dropdown, and we click inside the dropdown. Runbot issue 24739 closes odoo/odoo#142863 X-original-commit: 4a011149cba968585d5e74ee4f4fff7212c729e3 Signed-off-by: Francois Georis (fge) <fge@odoo.com> 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%