[IMP] Notification emails: subject is not truncated anymore.

bzr revid: tde@openerp.com-20130115113920-eem74uh5918lrofm
This commit is contained in:
Thibault Delavallée 2013-01-15 12:39:20 +01:00
parent aebb235afa
commit 26d161e0d1
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ class mail_message(osv.Model):
for message in self.read(cr, uid, ids, ['model', 'res_id'], context=context):
if not message.get('model') or not message.get('res_id') or not self.pool.get(message['model']):
continue
result[message['id']] = self._shorten_name(self.pool.get(message['model']).name_get(cr, SUPERUSER_ID, [message['res_id']], context=context)[0][1])
result[message['id']] = self.pool.get(message['model']).name_get(cr, SUPERUSER_ID, [message['res_id']], context=context)[0][1]
return result
def _get_to_read(self, cr, uid, ids, name, arg, context=None):