Merge PR #513 into 12.0

Signed-off-by pedrobaeza
pull/522/head
OCA-git-bot 2020-03-08 19:33:29 +00:00
commit 024d1fa5a7
1 changed files with 2 additions and 0 deletions

View File

@ -44,6 +44,8 @@ class MailTrackingEmail(models.Model):
'bounced': 'hard_bounce', 'bounced': 'hard_bounce',
'dropped': 'reject', 'dropped': 'reject',
'accepted': 'sent', 'accepted': 'sent',
'failed': 'error',
'rejected': 'error',
} }
def _mailgun_event_type_verify(self, event): def _mailgun_event_type_verify(self, event):