Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
4666 มุมมอง

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
พ.ย. 18
3371
2
มี.ค. 15
10195
1
มี.ค. 15
5221