تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
4613 أدوات العرض

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
نوفمبر 18
3290
2
مارس 15
10125
1
مارس 15
5151