Daily updates from Odoo
Wednesday, March 27, 2024
4 changes · saas-17.2
Resolved issues and error corrections
This fixes an issue where Brazilian Pix QR codes could fail when the point of sale prepared an offline backup code without a payment amount. It helps ensure stores can keep using Pix payment QR codes reliably when the POS is offline.
Original PR description
QR code support was added to the POS [1]. A fallback QR code with a None amount is downloaded when the POS loads. This is used when the POS is offline. This commit ensures we don't float_repr() None which results in: TypeError: must be real number, not NoneType [1] https://github.com/odoo/odoo/pull/148803
This fixes unreliable automated tests by making the simulated server date match the dates expected by the tests. It helps prevent false failures in mail and live chat test runs, supporting smoother releases without changing customer-facing behavior.
Original PR description
mock server date is by default in 2019, which can lead to unwanted behaviors. Mock the correct date to the server for those hard-coded date tests. https://github.com/odoo/enterprise/pull/59436 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes a timing issue in an automated mail test so it no longer fails unpredictably. The change improves confidence in the test results without changing how users experience the mail or discuss features.
Original PR description
Similar to https://github.com/odoo/odoo/pull/158746, the add_members() will call the message_post(). The date should be mocked as well to prevent race condition problems. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix improves how grid-based views handle scrolling and size changes for rows or columns. It prevents outdated positioning data from affecting the display, reducing visual glitches and making large lists or grids feel more reliable.