Advanced Views - Calendar View in Odoo 14 | Odoo 14 Development Tutorial
Calendar view provides a timeline – schedule view for the data, they display records as events in a daily, weekly, or monthly calendar. Their root element is “Calendar”.
Attributes of the calendar view are:
date_start:
This field is required to specify the starting date for the event.
date_stop:
This field is required to specify the ending date for the event. I mentioned in the record, the record turns to be movable in the calendar.
date_delay:
This field acts as an alternative to date_stop field which specifies the length of the event rather than the end date.
colour:
This field is used to colorize calendar/gantt items.
form_view_id:
Open view when an event is generated or modified by the user. The thing to be noted is that if the attribute is not set and if any calendar view exists in the current action, then it would fall back to the id of the form view.
event_open_popup:
If the event_open_popup="true" then the view of the respective event window will open as a popup. Otherwise, it will open events in a new form of view.
quick_add:
This field allows the creation of an event instantly. Here, the user provides their name along with time which inturn helps in creating new events instantly and if the quick creation fails, it returns to a full form dialogue.
all_day:
Name of the record boolean field indicating whether the corresponding event is flagged as day-long (and irrelevant for the duration)
mode:
Indicate the Default view mode of the calendar when the page is loaded and the possible attributes are day, week, month.
Video Contents
00:43 Importance of the Calendar view
02:35 How to Add a Date
04:00 Timedelta
11:34 What is the Form ID
12:50 What is Date Delay
Related Videos:
Advanced Views - Calendar View in Odoo 13: https://youtu.be/gJdRL7Nlmno