[FIX] mail_message: added a rec_name, because otherwise many2one widget crashes, because the name field does not exist.
bzr revid: tde@openerp.com-20121102104604-gyug2jgdm35xhh67
This commit is contained in:
parent
455a076050
commit
db19771e06
|
@ -50,6 +50,7 @@ class mail_message(osv.Model):
|
|||
_description = 'Message'
|
||||
_inherit = ['ir.needaction_mixin']
|
||||
_order = 'id desc'
|
||||
_rec_name = 'record_name'
|
||||
|
||||
_message_read_limit = 100
|
||||
_message_read_fields = ['id', 'parent_id', 'model', 'res_id', 'body', 'subject', 'date', 'to_read', 'email_from',
|
||||
|
|
Loading…
Reference in New Issue