Commit Graph

293 Commits (1f684ad7ade7800b765f19e01283e18e4f16299e)

Author SHA1 Message Date
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
OCA Transbot 3d3fdba195 OCA Transbot updated translations from Transifex 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
Pedro M. Baeza 593778d9d7 [FIX] mail_tracking_mailgun: Missing error in test 2020-04-02 11:13:04 +02:00
Pedro M. Baeza fc9ccf3a22 [FIX] mail_tracking_mailgun: Message error on bounce 2020-04-02 11:13:04 +02:00
OCA Transbot 5e0a3ef131 OCA Transbot updated translations from Transifex 2020-04-02 11:13:04 +02:00
Jairo Llopis ea7d9836da [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.
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
OCA Transbot e59459b0ff OCA Transbot updated translations from Transifex 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
OCA Transbot 6098c9dbc5 OCA Transbot updated translations from Transifex 2020-04-02 11:13:04 +02:00
David Vidal 9e0112fa79 [IMP] mute logger on tests error responses so Travis doesn't fail 2020-04-02 11:13:04 +02:00
OCA Transbot 67ac6d2ec4 OCA Transbot updated translations from Transifex 2020-04-02 11:13:04 +02:00
Rafael Blasco f56e33e1cc Add Contributors
Both Carlos and me have work a lot in this module, maybe not coding but much testing and definition in usability
2020-04-02 11:13:04 +02:00
OCA Transbot 30dd30f048 OCA Transbot updated translations from Transifex 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
Pedro M. Baeza 6f6c142afa [MIG] Rename manifest files 2020-04-02 11:13:04 +02:00
Pedro M. Baeza e868789bde [MIG] Make modules uninstallable 2020-04-02 11:13:04 +02:00
Antonio Espinosa bfa04ea445 [MIG] mail_tracking_mailgun 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
Antonio Espinosa a4337ec045 OCA Transbot updated translations from Transifex 2020-04-02 11:13:04 +02:00
OCA-git-bot 839f907d76 mail_tracking 13.0.1.0.2 2020-04-01 16:13:21 +00:00
OCA-git-bot b574bfa097 Merge PR #532 into 13.0
Signed-off-by pedrobaeza
2020-04-01 15:53:40 +00:00
Uku Lagle b380278fb1 [FIX] mail_tracking: do not warn not found if already opened
The state will be 'opened' after first time email is opened. Each
successive open triggered warning, because state was already 'opened'
and thus did not match domain state in (sent, delivered).

Forward-port #d9ad3464
2020-04-01 12:43:21 +03:00
OCA Transbot 0f23aec4ea Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-13.0/social-13.0-mail_debrand
Translate-URL: https://translation.odoo-community.org/projects/social-13-0/social-13-0-mail_debrand/
2020-03-29 06:15:15 +00:00
OCA-git-bot f5fdce19e3 [UPD] README.rst 2020-03-29 06:15:03 +00:00
OCA-git-bot 375bec4bba [ADD] setup.py 2020-03-25 15:42:26 +00:00
OCA-git-bot bc30526cdc [UPD] README.rst 2020-03-25 15:42:25 +00:00
oca-travis 511d584926 [UPD] Update mail_debrand.pot 2020-03-25 15:30:03 +00:00
OCA-git-bot 106c706a22 Merge PR #525 into 13.0
Signed-off-by pedrobaeza
2020-03-25 15:18:34 +00:00
Valentin Vinagre Urteaga affc57cd8f [MIG] mail_debrand: Migration to v13.0 2020-03-20 16:41:46 +01:00
Matjaz Mozetic 3b2df59d13 Translated using Weblate (Slovenian)
Currently translated at 100.0% (5 of 5 strings)

Translation: social-12.0/social-12.0-mail_debrand
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_debrand/sl/
2020-03-20 16:13:56 +01:00
Matjaz Mozetic 26e41d354d Added translation using Weblate (Serbian (latin)) 2020-03-20 16:13:56 +01:00
Matjaz Mozetic dbe57b713e Added translation using Weblate (Slovenian) 2020-03-20 16:13:56 +01:00
Pedro Castro Silva bbc2f49504 Translated using Weblate (Portuguese)
Currently translated at 40.0% (2 of 5 strings)

Translation: social-12.0/social-12.0-mail_debrand
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_debrand/pt/
2020-03-20 16:13:56 +01:00
Pedro Castro Silva a8371d9791 Added translation using Weblate (Portuguese) 2020-03-20 16:13:56 +01:00
qgroulard 5c03bee426 Added translation using Weblate (French) 2020-03-20 16:13:56 +01:00
OCA-git-bot 274a120cd4 [UPD] README.rst 2020-03-20 16:13:56 +01:00
OCA-git-bot a282a73b54 mail_debrand 12.0.2.0.1 2020-03-20 16:13:56 +01:00
oca-travis b4f62b76db [UPD] Update mail_debrand.pot 2020-03-20 16:13:56 +01:00
Lois Rilo 0490987967 [12.0][FIX] mail_debrand: debrand regular notifications.
without this fix, any regular notification (added as follower,
thread notifications...) were not parsed at all and as a
consequence also not debranded.
2020-03-20 16:13:56 +01:00
OCA-git-bot 8c9dc31649 [UPD] README.rst 2020-03-20 16:13:56 +01:00
Maxime Chambreuil 95eaa12e33 [FIX] mail_debrand: Add development_status (#408) 2020-03-20 16:13:56 +01:00
oca-travis 5d7da6bbd8 [UPD] Update mail_debrand.pot 2020-03-20 16:13:56 +01:00
Graeme Gellatly dfbff9e7c3 [FIX] Parse generated html to remove to remove Odoo branding messages 2020-03-20 16:13:56 +01:00
oca-travis 0c441868f4 [UPD] Update mail_debrand.pot 2020-03-20 16:13:56 +01:00
Graeme Gellatly 682379abc2 Rewrite mail_debrand for v12 2020-03-20 16:13:56 +01:00