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

<searchpanel>
    <field name="state" select="multi"/>
</searchpanel>

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

The select="multi" attribute is not supported by Odoo's selection field in the search panel tag of a tree view. Only many2many fields can use the select attribute, which lets you choose several values from the field.
On the other side, the selection field is used to offer a drop-down selection of predetermined values. Multiple selections are not by default permitted.
Use a many2many field rather than a selection field if you need to make several selections available in the search panel for a field. The underlying data model and the associated views would need to be changed to accommodate this modification.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ก.พ. 22
5756
Odoo Installation Script แก้ไขแล้ว
4
ธ.ค. 24
17486
0
ต.ค. 21
2169
Add New Operation Type in Warehouse แก้ไขแล้ว
2
ธ.ค. 24
4006
1
พ.ย. 24
2794