Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
4797 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
lut 22
5975
4
gru 24
17950
0
paź 21
2353
2
gru 24
4375
1
lis 24
3140