Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
9552 Представления

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

Аватар
Отменить
Лучший ответ

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.

Аватар
Отменить

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

Related Posts Ответы Просмотры Активность
3
окт. 16
6285
2
мая 15
4150
1
мар. 15
4985
1
июл. 25
499
Search a message Решено
1
февр. 25
1246