Friday, July 11, 2025
9 changes · 17.0
Enhancements to existing features
Odoo's internal test system can now automatically label certain tests based on what they do, such as website tours or database query checks. This helps teams run and monitor the right tests more reliably, with no direct impact on end users.
Original PR description
This commit add the possibility to automatically add test-tag on a test method at runtime. A generic method `get_method_additional_tags` is added on `BaseCase` test class. That method can be overridden to return a list of test-tags that will be added on the test methods. With this mechanism, the `HttpCase` class override this method to add a `is_tour` test-tag when the `start_tour` method is used in the test method. Also, the `start_tour` method will now emit a warning when the method is called without being tagged `is_tour`. That way, all the tours can now be started with the `is_tour` test-tag. Forward-Port-Of: odoo/odoo#212315
Resolved issues and error corrections
The shop page no longer shows the product category list twice when customers use the filter panel on larger screens. This removes visual clutter and makes browsing categories and filters clearer for shoppers.
Original PR description
Steps to reproduce: 1. Go to the shop page. 2. Open the editor and configure Categories to display on the left, and Attributes at the top. 3. Save the changes and click the offcanvas toggle button next to the layout buttons. Issue: - The category list appears twice: once on the left side and again in the offcanvas dropdown. This is redundant and affects the user experience. Cause: - The category list in the offcanvas menu isn’t restricted to mobile view, so it also displays on larger screens where it’s already visible in the sidebar. Fix: - Add the 'd-lg-none' class to hide the category list in the offcanvas menu on large devices. opw-4830180 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Miscellaneous changes
This pull request has only placeholder information, so the specific business impact cannot be determined from the provided details. It appears to be a minor or administrative change unless more file or feature details are added.
Odoo now shows the Indian state name as "Odisha" instead of the outdated "Orissa" in contact address selections. This aligns the system with official Government of India naming and improves accuracy for users entering Indian addresses.
Original PR description
<b>Steps to reproduce:</b> 1. Install the `Contacts` module. 2. Go to Contacts > Create a new contact. 3. Select country "India", then open the State dropdown. 4. Observe that "Orissa" appears instead of the updated name "Odisha". <b>Issue:</b> As per [Government of India guidelines](https://www.mha.gov.in/sites/default/files/2022-08/odishaAlterationAct2011%5B1%5D.pdf), the state name was officially changed from "Orissa" to "Odisha" in 2011. However, Odoo still uses the outdated name in the state selection. <b>Solution:</b> Update the name of the state from "Orissa" to "Odisha" in state records. <b>opw-4935633</b> Forward-Port-Of: odoo/odoo#218342
This fix changes mail activity validation so activity types are not automatically reset when their related model is considered invalid. Instead, users are warned, reducing the risk of unintended data changes in stable versions while preserving existing activity setup.
Original PR description
Just warn models are invalid, but do not reset for stable. Data is not enforced hence no real issue with wrong models. Followup of odoo/odoo#156731
A community test was updated so it no longer depends on a field only available in the enterprise edition. This helps keep nightly community builds stable and avoids false test failures in accounting checks.
Original PR description
Problem: ======== "extract_state" field is defined in enterprise,and the test was in community. So it breaks community test suite in nightly runbot builds Solution: ========= remove "extract_state" field when creating invoice Runbot error - 229764 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#218319
The Indian reports module now uses the official state name "Odisha" instead of the outdated "Orissa" in GSTR-3B reporting data. This keeps reports aligned with Government of India naming guidelines and avoids outdated terminology in customer-facing documents.
Original PR description
Issue: As per Government of India guidelines, the state name was officially changed from "Orissa" to "Odisha" in 2011. However, Odoo still uses the outdated name in report. Solution: Updated the records from "Orissa" to "Odisha". opw-4935633 Forward-Port-Of: odoo/enterprise#89947
The Hong Kong payroll demo data now includes the required time off allocations before demo leave records are validated. This prevents installation errors when setting up the module with demo data, making trials and testing smoother.
Original PR description
Issue: Demo leave records were created without allocations causing validation errors during module installation. Fix: - Added leave allocation records for time off types requiring allocation, - Validated allocation records in xml file. Task - 4936117 Forward-Port-Of: odoo/enterprise#89957
This update adds missing internal labels to Helpdesk tests so they run under the correct automated test categories. It helps keep testing reliable as the test system gains more flexible tagging, with no expected impact on end users.
Original PR description
With the new test-tags features that allows to add additional test tags at runtime, the tests that starts a tour or that are using a query_count and that are not detected as such must be tagged respectively `is_tour` or `is_query_count`.