Monday, October 4, 2021
2 changes · master
Resolved issues and error corrections
When an employee or applicant signs a contract through the salary simulation link, their job title and department are now carried over correctly. This keeps employee and contract records aligned automatically, reducing manual HR follow-up and data inconsistencies.
Original PR description
[FIX] hr_contract_salary: Update of the job title and department once the contract is signed This fix adds job_id and department_id to the wizard "Generate Simulation Link". Both fields are many2one fields respectively linked to hr.job and hr.department Once the applicant/employee clicks on Review Contract & Sign via the Generate Simulation Link, the department_id is updated on the employee form (hr.employee) and contract form (hr.contract). The job_id is also updated on the employee form (hr.employee) in the HR Settings tab Task-26164446
This update fixes issues affecting electronic invoicing services for Peru and invoice cancellation flows for Mexico. It helps ensure local compliance processes work correctly and improves test coverage for these country-specific workflows.