Commit Graph

15 Commits (d9c25d149def1d6c1279e17d21238e7ab76f444c)

Author SHA1 Message Date
hveficent f1db32e70c [MIG] mail_tracking_mailgun: Migration to 13.0 2020-04-02 11:18:36 +02:00
hveficent 4293c52365 [IMP] mail_tracking_mailgun: black, isort 2020-04-02 11:15:51 +02:00
Katherine Zaoral d32055946d [ADD] mail_tracking_mailgun: manage failed state from mailgun
This change let odoo process a state sent from mailgun legacy webhooks
that seems to apply when the message is not sent because the related
email has been mark us as spam or have bounced before. For solve this
add two new states to _mailgun_event_type_mapping_mailgun_event_type_mapping
method:

* failed: Mailgun could not deliver the email to the recipient email server
* rejected: Mailgun rejected the request to send/forward the email

source in https://documentation.mailgun.com/en/latest/quickstart-events.html#events.
2020-04-02 11:13:04 +02:00
ernesto c813615ed4 [MIG] mail_tracking_mailgun: Migration to 12.0 2020-04-02 11:13:04 +02:00
David 9e4dbdb111 [FIX] mail_tracking_mailgun: permissions
- In v11 only admins can read from ir.config_parameter so a sudo() must
be made to be able to get a parameter.
2020-04-02 11:13:04 +02:00
David eb57e0755e [FIX] mail_tracking_mailgun: alternative domain
- In case the sending domain is different from the one configured in the
mail.domain.catchall setting.
2020-04-02 11:13:04 +02:00
David Vidal 1f684ad7ad [FIX] mail_tracking_mailgun: json.load() won't swallow bytes (#269)
- json.load() in python under 3.6 doesn't support binary input.
- https://docs.python.org/3/whatsnew/3.6.html#json
- This way, we let requests to decode the response itself.
2020-04-02 11:13:04 +02:00
David 96b203adc4 [MIG] mail_tracking_mailgun: Migration to 11.0 2020-04-02 11:13:04 +02:00
David f12d809866 [IMP] mail_tracking_mailgun: validation auto check
- Configurable partner email auto check.
2020-04-02 11:13:04 +02:00
David e6e765383a [FIX] mail_tracking_mailgun: manual sync gets events from other recipients 2020-04-02 11:13:04 +02:00
David 811aedb7f6 [10.0][FIX] mail_tracking_mailgun: Avoid key dict errors 2020-04-02 11:13:04 +02:00
David 5f80d83478 [10.0][IMP] mail_tracking_mailgun: add partner mail checks 2020-04-02 11:13:04 +02:00
Damien Bouvy 44345d8a11 [MIG] mail_tracking_mailgun: Migrated to 10.0 2020-04-02 11:13:04 +02:00
Antonio Espinosa 6acff588fd [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
2020-04-02 11:13:04 +02:00
Antonio Espinosa 60ac15ebd9 [ADD] mail_tracking_mailgun 2020-04-02 11:13:04 +02:00