跳至內容
選單
此問題已被標幟
1 回覆
4049 瀏覽次數

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
434
2
6月 25
803
1
5月 25
2393
1
4月 25
3495
3
8月 24
2601