Sunday, August 30, 2026
3 changes · master
Resolved issues and error corrections
This fix ensures every tax record has a clear used or unused status. It prevents an unexpected error when the system checks taxes, improving reliability in accounting workflows.
Original PR description
The value False was not set for unused taxes in _compute_is_used, which led to a traceback. This PR ensures that is_used is set for every tax.
Forum-related internal tests now avoid assumptions about how many demo forums already exist. This prevents false test failures when demo data is installed, helping maintain smoother validation without changing customer-facing forum behavior.
Original PR description
`TestForumInternals` assumed that only the base forum and the forum created by the test setup existed in the database. This is not true when tests are run with demo data. In particular,…
`TestForumInternals` assumed that only the base forum and the forum created by the test setup existed in the database. This is not true when tests are run with demo data. In particular, `website_slides_forum` creates additional demo forums, causing `test_assert_initial_values` and the forum count assertions to fail even though the forum behavior itself is correct. This commit avoids relying on the global number of existing forums and instead scope the initial-value assertions to the forums owned by the test itself. For forum count tests, we use the count observed at the beginning of the test as a baseline and assert the expected deltas after creating or updating forums. This keeps the test focused on the behavior being tested while allowing unrelated forums to already exist. This also avoids modifying, archiving, or explicitly filtering demo records, and does not introduce a dependency on modules such as `website_slides_forum`. The tests therefore behave identically on databases both with and without demo data. [error-241100 ](https://runbot.odoo.com/odoo/error/241100) --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#282929
Documentation and clarification updates
Jaideep Pyne has signed the Individual Contributor License Agreement, allowing future contributions to be accepted under Odoo's legal requirements. This is an administrative prerequisite for a planned small code fix and does not change product behavior.
Original PR description
Signing the Odoo Individual Contributor License Agreement v1.0 so I can contribute. This is a prerequisite for #PR-to-follow against 19.0, a one line fix in `odoo/tools/date_utils.py` where `weeknumber` discards `first_week_day=0`. Signed as Jaideep Pyne, jaideeppyne1997@gmail.com, which is the address on my commits.