fields
forms
Properties
Odoo 19 fields — Properties (views)
Live preview
Interactive
Source excerpt
web/static/src/views/fields/properties/calendar_properties_field.js
import { registry } from "@web/core/registry";
import { propertiesField, PropertiesField } from "./properties_field";
export class CalendarPropertiesField extends PropertiesField {
static template = "web.CalendarPropertiesField";
async checkDefinitionWriteAccess() {
return false;
}
}
export const calendarPropertiesField = {
...propertiesField,
component: CalendarPropertiesField,
};
registry.category("fields").add("calendar.properties", calendarPropertiesField);
Registry / API
- Registry name
calendar.properties- Category
fields- Module
web- Slug
calendar-properties- Nav group
forms