Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
4041 Zobrazení

I need a calendar in tree view by default but my code is not working:

<record id="calendar.action_calendar_event" model="ir.actions.act_window">

<field name="view_mode">tree,calendar,form</field>

<field name="view_id" ref="calendar.view_calendar_event_tree"/>

What is wrong in your opinion?

Avatar
Zrušit
Nejlepší odpověď

make

<field name="view_mode">calendar,tree,form</field>

to become the calendar view in default

Avatar
Zrušit
Autor

Thank but I asked how to change to tree view. As you can see I used

<field name="view_mode">tree,calendar,form</field>

and it does not work

change the sequence of views for default view, calendar,tree,form

Autor

but I need a tree view by default.

Related Posts Odpovědi Zobrazení Aktivita
1
čvc 25
415
2
čvn 25
782
1
kvě 25
2385
1
dub 25
3488
3
srp 24
2592