Daily updates from Odoo
Thursday, March 19, 2020
1 change · master
Code cleanup and technical improvements
The mail enterprise test setup was updated to better match how Discuss is opened and closed in the live application. This is an internal quality change that helps tests reflect real usage more accurately and removes an obsolete safety check.
Original PR description
In community, the 'createDisuss' helper has been updated to use 'dom.prepend' to benefit of its 'on_(attach|detach)_callback' calls. This allows the mail test suite environment to be closer to the actual action behaviour (having those methods called each time it is created/destroyed). This is why one of the mail tests which asserted specifically that the action would not crash when using these methods has been removed. Community PR: https://github.com/odoo/odoo/pull/47865