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

Hi guys,

Is there a way to implement the grouping feature that Odoo has to the front end website ?

Please help.


Regards,

อวตาร
ละทิ้ง
ผู้เขียน

What I mean is the group by rows in the table ( so it's collapsing feature etc )

คำตอบที่ดีที่สุด

you have to create a view record, inheriting the search view you want to add.

In that record just put,

<xpath expr="/search/group/filter[@string='THE_STRING_OF_EXISTING_GROUP_BY_FILTER']" position="after">

<filter string="YOUR_FILTER_NAME" domain="[]" context="{'group_by':'YOUR_FIELD_TO_GROUP_BY'}"/>

</xpath>

อวตาร
ละทิ้ง
ผู้เขียน

Hi Juan,

I think my question is quite misleading.

Your answer is for the backend site.

What I mean is, how to implement the grouping feature for the website module ?

Regards,

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
พ.ย. 15
11954
2
ส.ค. 23
278
0
มี.ค. 23
207
1
มี.ค. 22
2344
0
มิ.ย. 17
3737