跳至内容
菜单
此问题已终结
# 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
2050
1
6月 25
2421
2
5月 25
2016
1
5月 25
1226
3
4月 25
4799