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
Zrušiť
Related Posts Replies Zobrazenia Aktivita
0
nov 16
3493
0
feb 25
775
2
jan 25
1343
0
dec 21
2008
1
júl 18
4098