Skip to Content
Menu
This question has been flagged
1 Reply
3370 Views

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
Discard
Best Answer

make

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

to become the calendar view in default

Avatar
Discard
Author

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

Author

but I need a tree view by default.

Related Posts Replies Views Activity
3
Aug 24
1200
0
Dec 23
549
1
Apr 23
11713
0
Feb 23
1713
1
Jan 23
1496