跳至内容
菜单
此问题已终结
1 回复
4032 查看

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?

形象
丢弃
最佳答案

make

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

to become the calendar view in default

形象
丢弃
编写者

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

编写者

but I need a tree view by default.

相关帖文 回复 查看 活动
1
7月 25
398
2
6月 25
778
1
5月 25
2379
1
4月 25
3480
3
8月 24
2586