Daily updates from Odoo
Thursday, March 21, 2019
2 changes · master
Resolved issues and error corrections
This fix adjusts how the web client opens the home menu during automated checks so it waits for the menu to be ready. It helps prevent false test failures caused by timing issues in the enterprise home menu, improving reliability without changing normal user workflows.
Original PR description
Since odoo/enterprise@b830ea7ed2a the enterprise home menu is asynchronous. Because of that, the clientActionCount variable is updated too late and this counter is screwed up, making the test fail. With this commit a setTimeout 0 is used to click on home menu in the next tick and then update the current action count. Also * the test is adapted to stop immediately when an error is catched. * the initial click on home menu is moved into debug manager because the python test launcher user the correct location already. Thanks to @VincentSchippefilt and @aab-odoo
This update improves the title shown when no content is available, making the guidance clearer for users setting up or viewing website-related areas. The change helps reduce confusion in empty screens without altering business workflows.
Original PR description
*: base Revision on https://github.com/odoo/odoo/commit/a87d761fdbf345ada5dc93e0a686b08a0f5a0417 - suggested by @sswapnesh (https://github.com/odoo/odoo/commit/a87d761fdbf345ada5dc93e0a686b08a0f5a0417#commitcomment-32825219) - implemented by @alexkuhn