Defining calendar views
This recipe walks you through how to display and edit information about dates and duration in your records in a visual way.
How to do it...
Follow these steps to add a calendar
view for the project.task
model:
- Define a
calendar
view:<record id="view_project_task_calendar" model="ir.ui.view"> Â Â Â Â <field name="model">project.task</field> Â Â Â Â <field name="arch" type="xml"> Â Â Â Â Â Â Â Â <calendar date_start="date_assign" date_stop="date_end" color="project_id"> Â Â Â Â Â Â Â Â Â Â Â Â <field name="name" /> Â Â Â Â Â Â Â Â Â Â Â Â <field name="user_id" /> Â Â Â Â Â Â Â Â </calendar> Â Â Â Â ...