Monday, October 25, 2021
3 changes · master
Enhancements to existing features
This update improves the way Odoo's automated browser tests communicate with Chrome, making test runs more reliable and easier to diagnose. It also fixes a calendar click-position issue in newer Chrome versions and removes a test mode that made troubleshooting harder by stopping after the first failure.
Original PR description
Currently the runner kinda sorta tries to run the message pump when it needs a message, but it makes for messy and convoluted code as the "request/response" callers have to deal with a bunch of events they don't understand or care for, and can lose other people's events entirely. Try to use a more evented model: the downstream from Chrome is handled by a separate thread which can handle all events and responses somewhat uniformly. Request/response callers can register their desire for feedback and get a nice `Future` to wait on (or add a callback to). Also: * removes the failfast mode of JS tests as that mostly just makes fixing tests more annoying (as only one failure is shown per run) * fix a hitbox bug in calendar on Chrome 94 * fix a somewhat latent race condition in the qunit test suite / runner, which triggered during the POS qunit run (and is now a hard failure)
The stock module now hides the Clear All button beside Assign Serial Numbers when there are no move lines to clear. This keeps the inventory screen cleaner and avoids presenting users with an action that would do nothing.
Original PR description
Hide the "Clear All" button next to "Assign Serial Numbers" button when there are no move lines to clear. Follow up to task: 2426281 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Social marketing now creates unique tracking source names based on each message or subject. This helps keep campaign reporting clearer and avoids duplicate source names that could confuse performance analysis.
Original PR description
PURPOSE ======= Now the name of the source must be unique. For that purpose we added a method to generate the name from the subject / message. Task 2245823