[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:
luvi
2023-04-03 13:55:18 +02:00
committed by Lucas Perais
parent 129fa3f150
commit 804c74813e
@@ -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"),