Skip to Content
Menu
This question has been flagged
1 Odpoveď
4686 Zobrazenia

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
Zrušiť
Best Answer

The parameter is search

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

Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
0
nov 18
3435
2
mar 15
10244
1
mar 15
5286