跳至內容
選單
此問題已被標幟
661 瀏覽次數
# Action 
<field name="view_mode">tree,graph</field>
<field name="context">{'search_default_group_by_destination':1,'search_default_group_by_model':1}</field>
<field name="search_view_id" ref="view_search_replication_log"/>
#search view
<group string="Group By">
<filter string="Destination Name" name="group_by_destination"
context="{'group_by': 'destination_name'}"/>
<filter string="Model Name" name="group_by_model"
context="{'group_by': 'model_name'}"/>
<filter string="Status" name="group_by_status" context="{'group_by': 'status'}"/>
</group>
#tree view 
<tree expand="2"
#i've tried 1 ,2 and expand="context.get('expand', True)", but all did not work, it expand on first level but won't expand more, please help thanks
頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
3
7月 25
2099
1
6月 25
2502
2
5月 25
2059
1
5月 25
1266
3
4月 25
4835