I'm trying to make a simple calendar view, but the problem is that i don't have idea for how to make the start date.
Can anyone show me an example of a simple calendar view?
This is my code for calendar view:
...
<!--partidos calendar-->
<record model="ir.ui.view" id="view_partidos_calendar">
<field name="name">partidos.calendar</field>
<field name="model">partidos</field>
<field name="type">calendar</field>
<field name="arch" type="xml">
<calendar string="Partidos" date_start="date_ini">
<field name="fecha"/>
<field name="resultado"/>
<field name="equipo_vis_id"/>
<field name="equipo_loc_id"/>
<field name="puntos_vis"/>
<field name="puntos_loc"/>
<field name="ganador"/>
</calendar>
</field>
</record>
...