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

Hello,

I need to replace "fnct_search" by other equivalent method in a model od odoo v8

  _columns = {    
      'to_read': fields.function(_get_to_read, fnct_search=_search_to_read,     type='boolean', string='To read', help='Current user has an unread notification linked to this message'),
  }

Thank you!

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

The parameter is search

https://www.odoo.com/documentation/8.0/reference/orm.html#computed-fields

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 11 18
3348
2
thg 3 15
10164
1
thg 3 15
5181