Please sign in to comment.
[FIX] hr_holidays: use api model instead of multi for dashboard
Before 1ced3bf, the get_days_all_request method was called with the context as an argument. As a consequence, because of the api.multi, the first arg is used as the ids of the record. As the id is not used in this method, it was not harmful. With the above mentioned fix, there is no more argument. This causes a traceback when clicking on menu "My Time Off/Dashboard". With this commit, the api.model is used instead, that way, the first arg is not considered as ids.
- Loading branch information...
Showing with 1 addition and 1 deletion.