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

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,

관련 게시물 답글 화면 활동
1
11월 15
11954
2
8월 23
278
0
3월 23
207
1
3월 22
2344
0
6월 17
3737