Browse Source

[FIX] new class name

pull/70/head
Ivan Yelizariev 8 years ago
parent
commit
b1ea50d201
  1. 2
      mail_move_message/mail_move_message_models.py

2
mail_move_message/mail_move_message_models.py

@ -331,7 +331,7 @@ class MailMessage(models.Model):
def name_get(self): def name_get(self):
context = self.env.context context = self.env.context
if not (context or {}).get('extended_name'): if not (context or {}).get('extended_name'):
return super(mail_message, self).name_get()
return super(MailMessage, self).name_get()
reads = self.read(['record_name', 'model', 'res_id']) reads = self.read(['record_name', 'model', 'res_id'])
res = [] res = []
for record in reads: for record in reads:

Loading…
Cancel
Save