Friday, December 4, 2020
1 change
New functionality added to Odoo
A new HR bridge feature creates a time off allocation when an HR responsible countersigns an employee contract, leaving it ready for validation. It also adds an Extra Time Off leave type and keeps automatic allocation 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