Monday, November 17, 2025
2 changes · 19.0
Enhancements to existing features
This update makes sure that links from payroll and contract screens open the correct employee or contract forms. It improves navigation for users by sending them to the intended record view instead of an incorrect or outdated one.
Original PR description
The contract template form view is now written on the formview_action directly. This is a backport of https://github.com/odoo/enterprise/pull/97463 task-5082709 Forward-Port-Of: odoo/enterprise#99486
When users open a version record in HR, they are now sent to the most relevant screen: contract templates open in the contract template view, while employee-related versions open in the employee form with the correct version already selected. This makes navigation more accurate and reduces confusion when reviewing or editing HR version data.
Original PR description
If the version record is a contract template, redirect to the version contract template view. Otherwise, redirect to the employee form view with the version_id in the context. This is a backport of https://github.com/odoo/enterprise/pull/97463 task-5082709 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 Forward-Port-Of: odoo/odoo#235691