OCA / hr

Odoo Human Resources Addons
GNU Affero General Public License v3.0
218 stars 672 forks source link

hr_employee_ppe: error when assigning multiple PPE to an employee. #1352

Open azucenatrey opened 6 months ago

azucenatrey commented 6 months ago

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) ''' hr_ppe_error

To Reproduce

Affected versions: 12.0

Steps to reproduce the behavior:

  1. Step in employee form.
  2. Edit and add multiple PPEs.
  3. Save.

Expected behavior Save without error.

azucenatrey commented 6 months ago

Solution proposed in PR: https://github.com/OCA/hr/pull/1351

github-actions[bot] commented 6 days ago

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.