Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
9532 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
6284
2
thg 5 15
4127
1
thg 3 15
4982
1
thg 7 25
488
Search a message Đã xử lý
1
thg 2 25
1245