Tuesday, December 15, 2020
1 change
New functionality added to Odoo
When an HR responsible countersigns an employee contract, the system can now create a related time off allocation that only needs validation. This connects salary package contracts with time off management and adds an Extra Time Off leave type, while keeping the setting disabled by default to avoid multi-company setup issues.
Original PR description
…nature We would like to add a new allocation when a HR responsible countersigns a contract. With this brigde module between the hr_contract_salary and hr_holidays the allocation is created once the employee's contract is signed and only needs a validation. A Extra Time Off leave type is added to data's. To prevent multi-companies issues, the hr_salary_holidays_auto_allocation is not set to True as default, due to the fact that there are no Time Off Type defined at Company creation. Security : If a given user is the HR responsible for a Contract Template and has no rights on hr.leave.allocation an AccessError is raised once the responsible countersigns the contract. Task-2391381