跳至内容
菜单
此问题已终结
1 回复
4587 查看

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!

形象
丢弃
最佳答案

The parameter is search

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

形象
丢弃
相关帖文 回复 查看 活动
0
11月 18
3256
2
3月 15
10106
1
3月 15
5140