Wednesday, December 27, 2023
3 changes · 17.0
Resolved issues and error corrections
This fixes the website timeline snippet so the vertical line no longer runs through date labels. It restores the intended visual separation and also corrects existing timeline snippets already saved on websites, improving presentation consistency for visitors.
Original PR description
Each date in the timeline snippet was displayed with the time line going through them. The line is supposed to be cut around the date. This occurs since [1] which made it so `<span>` elements are…
Each date in the timeline snippet was displayed with the time line going through them. The line is supposed to be cut around the date. This occurs since [1] which made it so `<span>` elements are automatically removed by the editor if they do not have any attributes. Unfortunately, this snippet relied on such a span, since [2]. This commit solves the issue by making the snippet better (and the XML structure will further be improved in the master forward-ported version). Unfortunately, this is not entirely stable, even though it leads to the exact same result provided no custom code tweaks the snippet. It will also solve existing timeline snippets in current databases. Note: [1] was obviously a mistake to merge in stable, although it might be kept seeing the delay since it was merged and nothing critical seems to have happened. [1]: https://github.com/odoo/odoo/commit/a26e27c85e6a0685b6cf4d2dbab90453899df34c [2]: https://github.com/odoo/odoo/commit/fbe38fb41dfdb76878748a1149f93700b566d228 task-3657771
This fixes unstable automated tests in the messaging area by making test checks wait for expected actions instead of relying on timing shortcuts. The change helps reduce false test failures and improves confidence in release validation without changing business functionality.
Original PR description
Several tests are non deterministic because they are using `assert.verifySteps` at the wrong moment. Helpers such as `afterNextRender`, `nextTick`, `Deferred` are used but those are either not reliable or cumbersome to setup. This PR introduces an asynchronous API on top of `assert.step`/`assert.verifyStep`. This will wait until steps are executed or until the timeout is reached. fixes runbot-52660,54471,52794
This fix prevents an occasional error when retrieving product records through XML-RPC by safely handling missing field definition information. It helps integrations and automated processes that read product data continue running instead of failing unexpectedly.
Original PR description
Sometimes definition_record can be None. This checks that definition_record is not None before calling it on record Description of the issue/feature this PR addresses: #146835 Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr