Commit Graph

19 Commits

Author SHA1 Message Date
David
bf01a3358d [FIX] mail_tracking_mailgun: manual sync gets events from other recipients 2022-05-17 17:16:14 -03:00
Pedro M. Baeza
07e9a8ac54 [FIX] mail_tracking_mailgun: Message error on bounce 2022-05-17 17:16:14 -03:00
OCA Transbot
ed69644616 OCA Transbot updated translations from Transifex 2022-05-17 17:16:14 -03:00
Jairo Llopis
a43bfa843a [FIX] mail_tracking_mailgun: Avoid errors without event
When this method is called without an event (a.k.a. `event=None`), this method produces the following error:

```
Traceback (most recent call last):
  File "/opt/odoo/auto/addons/mail/models/mail_mail.py", line 278, in send
    res = IrMailServer.send_email(msg, mail_server_id=mail.mail_server_id.id)
  File "/opt/odoo/auto/addons/mail_tracking/models/ir_mail_server.py", line 88, in send_email
    tracking_email.smtp_error(self, smtp_server_used, e)
  File "/opt/odoo/auto/addons/mail_tracking/models/mail_tracking_email.py", line 213, in smtp_error
    self.sudo()._partners_email_bounced_set('error')
  File "/opt/odoo/auto/addons/mail_tracking/models/mail_tracking_email.py", line 203, in
_partners_email_bounced_set
    ]).email_bounced_set(self, reason, event=event)
  File "/opt/odoo/auto/addons/mail_tracking_mailgun/models/res_partner.py", line 22, in
email_bounced_set
    self._email_bounced_set(reason, event)
  File "/opt/odoo/auto/addons/mail_tracking_mailgun/models/res_partner.py", line 33, in
_email_bounced_set
    event['Message-Id'] or '') TypeError: 'NoneType' object has no attribute '__getitem__'
```

So, we now assume we do not always have an event.
2022-05-17 17:16:14 -03:00
David
112ed9a274 [10.0][FIX] mail_tracking_mailgun: Avoid key dict errors 2022-05-17 17:16:14 -03:00
OCA Transbot
11f1664f6f OCA Transbot updated translations from Transifex 2022-05-17 17:16:14 -03:00
David
3ca3ee4e49 [10.0][IMP] mail_tracking_mailgun: add partner mail checks 2022-05-17 17:16:13 -03:00
OCA Transbot
3e8273581b OCA Transbot updated translations from Transifex 2022-05-17 17:16:13 -03:00
David Vidal
ed9b469533 [IMP] mute logger on tests error responses so Travis doesn't fail 2022-05-17 17:16:13 -03:00
OCA Transbot
a757066b7a OCA Transbot updated translations from Transifex 2022-05-17 17:16:13 -03:00
Rafael Blasco
003d7d89e4 Add Contributors
Both Carlos and me have work a lot in this module, maybe not coding but much testing and definition in usability
2022-05-17 17:16:13 -03:00
OCA Transbot
b2ecc17d7b OCA Transbot updated translations from Transifex 2022-05-17 17:16:13 -03:00
Damien Bouvy
24e5044065 [MIG] mail_tracking_mailgun: Migrated to 10.0 2022-05-17 17:16:13 -03:00
Pedro M. Baeza
9adb6bd763 [MIG] Rename manifest files 2022-05-17 17:16:13 -03:00
Pedro M. Baeza
21e3cb5a8d [MIG] Make modules uninstallable 2022-05-17 17:16:13 -03:00
Antonio Espinosa
6f6231411c [MIG] mail_tracking_mailgun 2022-05-17 17:16:13 -03:00
Antonio Espinosa
b56ff3747d [8.0][IMP][mail_tracking] Speed installation time and discard concurrent events (#82)
[IMP] mail_tracking: Speed installation time, discard concurrent events and other fixes
2022-05-17 17:16:13 -03:00
Antonio Espinosa
708b72f9c0 [ADD] mail_tracking_mailgun 2022-05-17 17:16:13 -03:00
Antonio Espinosa
e739bd557c OCA Transbot updated translations from Transifex 2022-05-17 17:16:13 -03:00