summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic
diff options
context:
space:
mode:
authorChristophe Monniez <moc@odoo.com>2019-03-26 09:12:33 +0000
committerChristophe Monniez <moc@odoo.com>2019-03-26 09:12:33 +0000
commit8bb46e8b96ff6b8a634ea9fd066351d6253cfbbf (patch)
tree799a3ae14d26483437636b82b0c9ddbc34416a18 /addons/web/static/src/js/views/basic
parente64ed7cece84104231674d95598e9230f58c07ec (diff)
[FIX] hr_holidays: use api model instead of multi for dashboard
Before 1ced3bfca, 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. closes odoo/odoo#32119 Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions