Commit Graph

502 Commits (80eb0afecd6e5569bdb3b4a33cf4fd46d65ee1a6)

Author SHA1 Message Date
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
oca-travis 335122df53 [UPD] Update mail_tracking_mailgun.pot 2020-04-02 11:13:04 +02:00
David dea8c21720 [FIX] mail_tracking_mailgun: Validation API url
Besides Mailgun API url changes if the domain zone is in UE, it
remains the same for Validation API.
2020-04-02 11:13:04 +02:00
oca-travis f356a0cea5 [UPD] Update mail_tracking_mailgun.pot 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
c2cdidier d4348c1e43 Translated using Weblate (French)
Currently translated at 16.7% (4 of 24 strings)

Translation: social-11.0/social-11.0-mail_tracking_mailgun
Translate-URL: https://translation.odoo-community.org/projects/social-11-0/social-11-0-mail_tracking_mailgun/fr/
2020-04-02 11:13:04 +02:00
oca-travis fabb16b311 [UPD] Update mail_tracking_mailgun.pot 2020-04-02 11:13:04 +02:00
Sergio Teruel Albert 5638ce499b [11.0][FIX] mail_tracking_mailgun: Read config parameters with sudo 2020-04-02 11:13:04 +02:00
David f8361c8c25 [FIX] mail_trackin_mailgun: partner form
- Some res.partner form fields were not properly render due to this
module inherited view.
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
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