Thursday, March 5, 2026
4 changes · master
Enhancements to existing features
This update speeds up testing for the Stock Barcode module by moving company setup steps to a dedicated setup class. This reduces test execution time, particularly when testing related modules like Sale Timesheet, improving overall development efficiency. The change addresses a slow test setup process that was impacting development timelines.
Original PR description
TestBarcodeClientAction [setup is quite slow](https://runbot229.odoo.com/runbot/static/build/102958171-master/tests/profile/profile_2.html#localProfilePath=1), especially because it creates a company. In addition in all classes extending this one, we spend at least 6 minutes on this line. (when testing sale_timesheet -> !stock_barcode_mrp_subcontracting) This commit proposes to move at least the company creation in a setupclass. It would be great to move all the setup in the setupclass but the tests are failling when doing so and could be achieved by a member of the stock_barcode owner team. Tests based on this setup should be a few minutes faster with this change. Forward-Port-Of: odoo/enterprise#109509
This update simplifies the user interface by standardizing the term 'Audit Report' to 'Annual Report'. Previously, the use of both terms created confusion for users. This change improves clarity and user experience within the Enterprise module.
Original PR description
The user interface currently uses both the terms "Audit Report" and "Annual Report", which can be confusing for users. To eliminate this confusion, "Audit Report" will be renamed to "Annual Report". Task-5902500
This update enhances the way invoice activity summaries are generated during test runs. Specifically, the summary now automatically reflects the activity type, improving test accuracy and consistency. The changes also optimize database queries to reduce load, particularly during initial data access.
Original PR description
- When a recurring document request is created summary will be the name of the activity_type_id as per the new implementation here in this testcase. Added the default summary to the activity_type_id so that it will be taken in to account. - Cleaned the occurences of _onchange_activity_type_id as now we are using the stored/computed fields. - Increased query count as the field is stored computed, which will add an extra query to get field value when not present in cache for the first time when accessing them. Here, note field seems missing from cache, so it is being fetched from the database when `message_activity_done` template tries access it. Task-5269655
This update simplifies the payslip list view by removing redundant buttons and improving the user experience. The 'Compute' button now appears only when a payslip is in draft status, and the multi-selection behavior prioritizes actions based on the payslip's state, making it easier for users to manage payroll data. The tour has also been updated to reflect the new button functionality.
Original PR description
-* hr_payroll_account - Remove Confirm button from payslip list view since it duplicates Validate. - Remove Compute and Confirm buttons from the Action menu. - Show Compute button only when payslip is in draft state. - Improve multi-selection behavior in list view: when multiple states are selected, apply buttons by state priority: draft > validated > paid. - Update the tour to click the Validate button instead of Confirm. task-5456180