hr
hr copied to clipboard
hr_employee_ppe: error when assigning multiple PPE to an employee.
Module
hr_employee_ppe
Describe the bug
When you assign multiple EPIs to an employee, the following error is returned:
'''
Error while validating constraint
Expected singleton: hr.employee.ppe(5, 6)
'''
To Reproduce
Affected versions: 12.0
Steps to reproduce the behavior:
- Step in employee form.
- Edit and add multiple PPEs.
- Save.
Expected behavior Save without error.
Solution proposed in PR: https://github.com/OCA/hr/pull/1351
There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.