تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
4809 أدوات العرض

<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.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
فبراير 22
5975
4
ديسمبر 24
17951
0
أكتوبر 21
2353
2
ديسمبر 24
4378
1
نوفمبر 24
3149