Wednesday, October 16, 2024
5 changes · master
Enhancements to existing features
The point of sale order tabs now use a simpler way to sort floating orders in the navigation bar. This makes the order list behavior easier to maintain while keeping staff interactions with open orders clear and consistent.
Original PR description
In this commit we replace the complicated sorting mechanism for the floating orders shown in the navbar with a simpler one. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update improves the internal database connection code to prepare it for automated type checking. It helps developers catch potential issues earlier and improves long-term maintainability, with no expected change for end users.
Original PR description
Preparation for type checking and some more specific types are used. `PsycoConnection` now is aware of the pool it belongs to. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The Hoot test result display is improved to show assertion details in a clearer, richer format. This helps teams understand test outcomes faster and diagnose issues with more context, supporting smoother quality checks.
Original PR description
This commit improves the readability and amount of informations displayed in the test results of the Hoot UI. Previously: the message of each assertion result was a simple string; Now: it can be an array of "normal" strings (tagged as "raw"), and any other value will be highlighted according to its type. Also, the amount of values displayed from an object (key-value pairs, iterable elements, etc.) has been increased to be able to show more details. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Test runs now end automatically once the tests are complete, avoiding unnecessary background activity and cleaner logs. This reduces the chance of leftover test instances causing confusing behavior or wasting resources.
Original PR description
Most of the time we want to stop execution after the end of the tests. Not doing it may: - make the cron run at the end, polluting the log - left an instance running without need - the used instance may have strange behavior in case config['test-enable'] is used in the logic - remove the warning if no test was run (invalid test-tag) This commit proposes to make stop_after_init implicit when running tests
The HR settings label for employee self-editing was updated to better explain what employees can change. This helps administrators understand that the option allows employees to update Work Information on their My Profile page.
Original PR description
In this PR, hr settings have the option `hr_employee_self_edit` described as "Allow employees to update their own data". This is a bit unclear so we have changed it to "Allow employees to update Work Information on My Profile". Task-4179070