콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
1856 화면

i am following a video guide to create a custom module, i have added Search View using below code (screenshot), its working fine in instructor's video but when i am implementing, 

1- it is showing Status within Filters not in Group by and 

2- when i am clicking on Status it's not working, data in tree view remains same

please help, what i am doing wrong or missing or overlooked?

regards

Screenshot: because when posting code, the forum app starts misbehaving or i have not idea on how to's.


아바타
취소
작성자 베스트 답변

sorry to all, i forgot to use underscore in group_by instead i wrote group by as of my habit in oracle sql.

issue resolved.

아바타
취소
베스트 답변

Hi,

Please change the expand = 0 to expand = 1 in your code, check whether you have given your field name correctly, upgrade the module, and try again

eg:

<group expand="1" string="Group By">

<filter string="status" name="your_field_name" context="{'group_by':'state'}"/>

                    </group>



Hope it helps

아바타
취소
작성자

thank you but this problem was resolved yesterday, see my Answer for this query.

관련 게시물 답글 화면 활동
0
3월 15
3332
0
2월 23
2813
1
8월 19
9318
1
8월 15
8390
1
12월 23
4768