From 587f3ff41da36c332e94c2552e61470e4199d717 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Mon, 4 Jun 2012 10:10:16 +0200 Subject: [PATCH] [ADD] mail.thread: added boolean field for read/unread. bzr revid: tde@openerp.com-20120604081016-3x21acf0zccgeyhv --- addons/mail/mail_thread.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/mail/mail_thread.py b/addons/mail/mail_thread.py index b1b6c68e4cc..b821edb5165 100644 --- a/addons/mail/mail_thread.py +++ b/addons/mail/mail_thread.py @@ -72,6 +72,8 @@ class mail_thread(osv.osv): _columns = { 'message_ids': fields.function(_get_message_ids, method=True, type='one2many', obj='mail.message', string='Temp messages', _fields_id = 'res_id'), + 'thread_read': fields.boolean('Read', + help="When checked, new messages require your attention."), } #------------------------------------------------------