İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
4595 Görünümler

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!

Avatar
Vazgeç
En İyi Yanıt

The parameter is search

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

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Kas 18
3265
2
Mar 15
10117
1
Mar 15
5145