From d8235eec3ce368c16a5893002c0530393ecccb11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Wed, 5 Dec 2012 16:36:09 +0100 Subject: [PATCH] [CLEAN] _auto_join -> auto_join. bzr revid: tde@openerp.com-20121205153609-tncmotw8jnoa53e7 --- addons/mail/mail_message.py | 2 +- addons/mail/mail_thread.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/mail/mail_message.py b/addons/mail/mail_message.py index fbcffff1e4b..a5080e48373 100644 --- a/addons/mail/mail_message.py +++ b/addons/mail/mail_message.py @@ -157,7 +157,7 @@ class mail_message(osv.Model): store=True, string='Message Record Name', help="Name get of the related document."), 'notification_ids': fields.one2many('mail.notification', 'message_id', - string='Notifications', _auto_join=True, + string='Notifications', auto_join=True, help='Technical field holding the message notifications. Use notified_partner_ids to access notified partners.'), 'subject': fields.char('Subject'), 'date': fields.datetime('Date'), diff --git a/addons/mail/mail_thread.py b/addons/mail/mail_thread.py index 4145fabd0e5..e706ad66a33 100644 --- a/addons/mail/mail_thread.py +++ b/addons/mail/mail_thread.py @@ -193,7 +193,7 @@ class mail_thread(osv.AbstractModel): obj='res.partner', string='Followers', multi='_get_followers'), 'message_ids': fields.one2many('mail.message', 'res_id', domain=lambda self: [('model', '=', self._name)], - _auto_join=True, + auto_join=True, string='Messages', help="Messages and communication history"), 'message_unread': fields.function(_get_message_data,