Files
odoo_source/addons/hr_homeworking/models
alsh-odoo 12b921f4c9 [FIX] hr_homeworking: give valid domain format to search records in hr work location
This traceback arises when the user tries to delete 'Work Locations'.

To reproduce this issue:

1) Install 'hr_homeworking'
2) Open 'Employees/Configuration/Work Locations'
3) Try to delete multiple record

Error:- 'ValueError: too many values to unpack (expected 3)'

An invalid domain format is used when searching for the record in
'hr.employee.location'.
See:

https://github.com/odoo/odoo/blob/def16f3725f8005874a18eb28b171523af1a0ecf/addons/hr_homeworking/models/hr_work_location.py#L17

sentry-4644429734

closes odoo/odoo#142866

Signed-off-by: Adrien Widart (awt) <awt@odoo.com>
2023-11-22 08:55:43 +00:00
..