Monday, November 17, 2025
2 changes · saas-18.4
Enhancements to existing features
This update makes certain links in contract and payslip screens open the correct related record views. It improves navigation for HR users by sending them directly to the expected employee or contract information instead of an incorrect page.
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
This change makes HR version records open in the most appropriate screen. Contract templates now open in the contract template view, while employee-related records open in the employee form with the right context, making navigation smoother and less confusing.
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