Skip to content
Snippets Groups Projects
Commit a92e0ad6 authored by Yannick Tivisse's avatar Yannick Tivisse
Browse files

[FIX] hr_holidays: Allow creating time off in the past


Purpose
=======

In the case a time off is created:
- In the past
- Using support documents

An invalid user error is raised in the interface, because the webclient
is sending values for the field 'supported_attachment_ids' (Example: [(6, 0, [])])
which is writing by inverse relationship on the field 'attachment_ids'.

On the other hand, it should be possible for an employee to add attachment
on the time off after it has begun.

closes odoo/odoo#104803

Taskid: 3032232
Signed-off-by: default avatarYannick Tivisse (yti) <yti@odoo.com>
parent 5e192a3c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment