Browse Source

[FIX] sent field value

pull/6/head
x620 9 years ago
parent
commit
966582a5a4
  1. 2
      mail_sent/models.py

2
mail_sent/models.py

@ -22,7 +22,7 @@ class MailMessage(models.Model):
message_index = {message['id']: message for message in message_values}
for item in self:
msg = message_index.get(item.id)
if msg:
if msg and item._uid == item.author_id.user_ids.id:
msg['sent'] = item.sent
return message_values

Loading…
Cancel
Save