Browse Source

[REM] remove unused models.py

pull/12/head
x620 9 years ago
parent
commit
367a79573c
  1. 17
      mail_to/models.py

17
mail_to/models.py

@ -1,17 +0,0 @@
# -*- coding: utf-8 -*-
from openerp import api, models, fields
class MailMessage(models.Model):
_inherit = 'mail.message'
@api.multi
def message_format(self):
message_values = super(MailMessage, self).message_format()
message_index = {message['id']: message for message in message_values}
for item in self:
msg = message_index.get(item.id)
if msg:
# TODO: найти получателей
msg['recipient'] = 'Recipient'
return message_values
Loading…
Cancel
Save