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

Is it possible to create a submenu in search filters menu of a controlpanelview?


Like when you get to choose to filter by a specific date range (Q1,Q2, this month, last month etc) for purchase orders and the different options are in a  order date submenu inside filters 

アバター
破棄
Trying to find the same. Anyone? I expected that something like this would work, but no luck.

---
---
---
最善の回答

As far as I can tell, this isn't currently possible (in Odoo 16).  I've tried the <group> tag to wrap the new group, and it doesn't do anything; same with using a  to group the inner filters.  I tried using a <div> tag and got an error; same with <menu>, <menuitem>, <Dropdown> and a couple other tags and the way that XML code usually works.

I even dug through the Odoo source code to try to figure out how the date type of filter does this, but no joy.

アバター
破棄
関連投稿 返信 ビュー 活動
2
11月 22
4908
1
6月 20
6468
1
10月 22
2316
2
3月 15
11282
1
3月 19
3247