Skip to content
Snippets Groups Projects
Commit c36457f8 authored by Kevin Baptiste's avatar Kevin Baptiste
Browse files

[FIX] hr_holidays: make approvals calendar working again


The fix introduced in #106513 was not working in the calendar found in
the "Approvals" menu as it was trying to call a model that was only
defined in the override of the CalendarModel that this view was not
inheriting.

closes odoo/odoo#108890

Signed-off-by: default avatarKevin Baptiste <kba@odoo.com>
parent 2f56f3f8
No related branches found
No related tags found
No related merge requests found
......@@ -295,6 +295,7 @@ odoo.define('hr_holidays.dashboard.view_custo', function(require) {
config: _.extend({}, CalendarView.prototype.config, {
Controller: TimeOffCalendarController,
Renderer: TimeOffPopoverRenderer,
Model: TimeOffCalendarModel,
}),
});
......
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