diff --git a/addons/hr_holidays/i18n/hr_holidays.pot b/addons/hr_holidays/i18n/hr_holidays.pot index 133a61b2b4a..e80504c0de2 100644 --- a/addons/hr_holidays/i18n/hr_holidays.pot +++ b/addons/hr_holidays/i18n/hr_holidays.pot @@ -621,7 +621,7 @@ msgstr "" #. module: hr_holidays #: model_terms:ir.ui.view,arch_db:hr_holidays.hr_leave_view_kanban -msgid "to " +msgid " to " msgstr "" #. module: hr_holidays @@ -3805,6 +3805,8 @@ msgid "" msgstr "" #. module: hr_holidays +#. odoo-javascript +#: code:addons/hr_holidays/static/src/views/calendar/calendar_controller.js:0 #: model:ir.actions.act_window,name:hr_holidays.hr_leave_action_my_request #: model:ir.model.fields,field_description:hr_holidays.field_hr_holidays_cancel_leave__leave_id #: model:ir.model.fields,field_description:hr_holidays.field_hr_leave_report__leave_id diff --git a/addons/hr_holidays/static/src/views/calendar/calendar_controller.js b/addons/hr_holidays/static/src/views/calendar/calendar_controller.js index b85977feaaa..b3ca6a2d2dc 100644 --- a/addons/hr_holidays/static/src/views/calendar/calendar_controller.js +++ b/addons/hr_holidays/static/src/views/calendar/calendar_controller.js @@ -93,7 +93,7 @@ export class TimeOffCalendarController extends CalendarController { resModel: this.model.resModel, resId: record.id || false, context, - title: record.title, + title: _t("Time Off Request"), viewId: this.model.formViewId, onRecordSaved: onDialogClosed, onRecordDeleted: (record) => this.deleteRecord(record), diff --git a/addons/hr_holidays/views/hr_leave_views.xml b/addons/hr_holidays/views/hr_leave_views.xml index 33815e954c1..211ab46dac0 100644 --- a/addons/hr_holidays/views/hr_leave_views.xml +++ b/addons/hr_holidays/views/hr_leave_views.xml @@ -141,7 +141,7 @@