Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
643 Lượt xem
# 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
Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 7 25
2052
1
thg 6 25
2427
2
thg 5 25
2016
1
thg 5 25
1229
3
thg 4 25
4802