Skip to Content
Menu
This question has been flagged

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>
...
Avatar
Discard
Related Posts Replies Views Activity
0
Nov 16
2712
0
Dec 21
1213
1
Jul 18
3372
0
Oct 20
2197
1
Mar 15
3321