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

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.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
พ.ย. 22
4909
1
มิ.ย. 20
6470
1
ต.ค. 22
2318
2
มี.ค. 15
11284
Search not woking on odoo11 แก้ไขแล้ว
1
มี.ค. 19
3247