This is the documentation for older versions of Odoo (formerly OpenERP).

See the new Odoo user documentation.

See the new Odoo technical documentation.

Calendar Views

Calendar view provides timeline/schedule view for the data.

View Specification

Here is an example view:

<calendar color="user_id" date_delay="planned_hours" date_start="date_start" string="Tasks">
    <field name="name"/>
    <field name="project_id"/>

Here is the list of supported attributes for calendar tag:


The title string for the view.


A datetime field to specify the starting date for the calendar item. This attribute is required.


A datetime field to specify the end date. Ignored if date_delay attribute is specified.


A numeric field to specify time in hours for a record. This attribute will get preference over date_stop and date_stop will be ignored.


An integer value to specify working day length. Default is 8 hours.


A field, generally many2one, to colorize calendar/gantt items.


A string value to set default view/zoom mode. For calendar view, this can be one of following (default is month):

  • day

  • week

  • month


Month Calendar:


Week Calendar: