Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
9719 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 10 16
6432
2
thg 5 15
4292
1
thg 3 15
5188
1
thg 7 25
742
Search a message Đã xử lý
1
thg 2 25
1417