コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
3733 ビュー

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
11814
2
8月 23
278
0
3月 23
207
1
3月 22
2250
0
6月 17
3659