Monday, March 9, 2026
1 change · saas-18.1
Resolved issues and error corrections
This change fixes an internal point-of-sale loyalty test so it can be rerun safely after a failure. It helps keep automated quality checks stable and reduces misleading build failures, without changing customer-facing behavior.
Original PR description
Tests in this file are all sorts of fucked up in ways which break retrying, but this one is problematic because it *also* fails on the reg, with a misleading error as on retrying the `setUp` fails because it tries to update `product_b`, which this test overrode (so the record is rolled back, and trying to update it fails with a `MissingError`). The error is completely unforced as the test just wants to have two products in the DB with different taxes, we don't even need local variables. runbot-226343 Forward-Port-Of: odoo/odoo#220085