[CLEAN] _auto_join -> auto_join.
bzr revid: tde@openerp.com-20121205153609-tncmotw8jnoa53e7
This commit is contained in:
parent
a7650e0e45
commit
d8235eec3c
|
@ -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'),
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue