Thursday, April 20, 2023
3 changes · master
Enhancements to existing features
Employee lookup in HR contracts and attendance now supports searching by either registration number or employee name. This makes it faster for users to find the right employee when filtering or selecting HR records.
Original PR description
This change adds a filter_domain attribute to the employee_id field. The filter_domain is set to filter the employee_id based on either the registration number or name of the employee. This will allow for easier searching and filtering of employees in the system. task-3130593 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update lets Odoo's internal web test helper accept more request options, such as query parameters. It makes automated tests easier to write and maintain without changing normal user-facing behavior.
Original PR description
**Current behavior before PR:** The odoo.tests.common.HttpCase.url_open method wraps requests.Session.get/post/head, but is unable to use the full range of their functionality. **Desired behavior after PR is merged:** It will be possible to run tests passing alternative kwargs, such as params. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Replaces #54868.
The Knowledge app has been simplified by removing obsolete internal logic related to article favorites. This has no expected change for users, but it helps keep the codebase cleaner and easier to maintain.
Original PR description
Since e68d7b81a6403665355991e80ae5ab3e03260335, the inverse method for is_user_favorite field is not used anymore. This commit simply removes it. Task-3274933