[IMP] web: export SCALE_LABELS from calendar_controller.js
This commits exports the SCALE_LABELS list from the calendar_controller.js file. This allows us to import and know the list of available scales from other locations (Studio for example), and be updated with the supported scales with their value and label. Part-of: odoo/odoo#115799
This commit is contained in:
@@ -15,7 +15,7 @@ import { CalendarQuickCreate } from "./quick_create/calendar_quick_create";
|
||||
|
||||
import { Component, useState } from "@odoo/owl";
|
||||
|
||||
const SCALE_LABELS = {
|
||||
export const SCALE_LABELS = {
|
||||
day: _lt("Day"),
|
||||
week: _lt("Week"),
|
||||
month: _lt("Month"),
|
||||
|
||||
Reference in New Issue
Block a user