diff --git a/addons/hr_holidays/static/src/js/time_off_calendar/time_off_calendar_controller.js b/addons/hr_holidays/static/src/js/time_off_calendar/time_off_calendar_controller.js index c9f15a3afa7..0ece094d944 100644 --- a/addons/hr_holidays/static/src/js/time_off_calendar/time_off_calendar_controller.js +++ b/addons/hr_holidays/static/src/js/time_off_calendar/time_off_calendar_controller.js @@ -185,12 +185,14 @@ export const TimeOffCalendarController = CalendarController.extend({ return { 'default_date_from': moment().format('YYYY-MM-DD'), 'default_date_to': moment().add(1, 'days').format('YYYY-MM-DD'), + 'lang': this.context.lang, }; }, _getAllocationContext() { return { 'default_state': 'confirm', + 'lang': this.context.lang, }; },