diff --git a/addons/hr_timesheet/static/src/services/timesheet_uom_service.js b/addons/hr_timesheet/static/src/services/timesheet_uom_service.js index cdda0a31188..8905ea54355 100644 --- a/addons/hr_timesheet/static/src/services/timesheet_uom_service.js +++ b/addons/hr_timesheet/static/src/services/timesheet_uom_service.js @@ -48,6 +48,9 @@ export const timesheetUOMService = { if (!registry.category("formatters").contains("timesheet_uom")) { registry.category("formatters").add("timesheet_uom", service.formatter); } + if (!registry.category("formatters").contains("timesheet_uom_no_toggle")) { + registry.category("formatters").add("timesheet_uom_no_toggle", service.formatter); + } return service; }, };