Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
1693 มุมมอง

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.

Related Posts ตอบกลับ มุมมอง กิจกรรม
0
มี.ค. 15
3202
0
ก.พ. 23
2701
1
ส.ค. 19
9223
1
ส.ค. 15
8285
1
ธ.ค. 23
4630