Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
9533 Näkymät

Hello,

 

i would like to make a field available for advanced search.

Is it possible to do that through the interface (with the developer mode?) and if so, how can i do that?

 

Thank you

Avatar
Hylkää
Paras vastaus

If you add a field into a model, it would be automatically available in the Advance Search as long as the field is stored in database or searchable.  Related and function fields are usually not stored unless if you set it's store attribute.  Function fields can be made searchable through fnct_search attribute of the field.

Avatar
Hylkää

Here the documentation for V8 : https://www.odoo.com/documentation/8.0/reference/orm.html#field-computed

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
3
lokak. 16
6284
2
toukok. 15
4132
1
maalisk. 15
4982
1
heinäk. 25
493
1
helmik. 25
1245