Commit Graph

147 Commits (bc5211c30005fc788ca18fa45d6fc447f72a2a69)

Author SHA1 Message Date
oca-travis bc5211c300 [UPD] Update mail_tracking_mailgun.pot 2019-03-07 09:24:55 +00:00
David 908bde398d [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.
2019-03-07 09:24:55 +00:00
oca-travis 6ae9cf7785 [UPD] Update mail_tracking_mailgun.pot 2019-03-07 09:24:55 +00:00
David 2ab36728b5 [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.
2019-03-07 09:24:55 +00:00
oca-travis 8c9cad1dbe [UPD] Update mail_tracking_mailgun.pot 2019-03-07 09:24:55 +00:00
David df32385dcb [FIX] mail_tracking_mailgun: alternative domain
- In case the sending domain is different from the one configured in the
mail.domain.catchall setting.
2019-03-07 09:24:55 +00:00
c2cdidier 512be7d277 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/
2019-03-07 09:24:55 +00:00
oca-travis 5459233ff0 [UPD] Update mail_tracking_mailgun.pot 2019-03-07 09:24:55 +00:00
Sergio Teruel Albert de1ddbb320 [11.0][FIX] mail_tracking_mailgun: Read config parameters with sudo 2019-03-07 09:24:55 +00:00
David 0603693c92 [FIX] mail_trackin_mailgun: partner form
- Some res.partner form fields were not properly render due to this
module inherited view.
2019-03-07 09:24:55 +00:00
David Vidal 430cb5f4f7 [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.
2019-03-07 09:24:55 +00:00
David 6e1db677c3 [MIG] mail_tracking_mailgun: Migration to 11.0 2019-03-07 09:24:55 +00:00
OCA Transbot 1eeb371f89 OCA Transbot updated translations from Transifex 2019-03-07 09:24:55 +00:00
David 213213c5a0 [IMP] mail_tracking_mailgun: validation auto check
- Configurable partner email auto check.
2019-03-07 09:24:55 +00:00
David 5da0596f9f [FIX] mail_tracking_mailgun: manual sync gets events from other recipients 2019-03-07 09:24:55 +00:00
Pedro M. Baeza d76123c4cd [FIX] mail_tracking_mailgun: Missing error in test 2019-03-07 09:24:55 +00:00
Pedro M. Baeza 78fdbbc4f7 [FIX] mail_tracking_mailgun: Message error on bounce 2019-03-07 09:24:55 +00:00
OCA Transbot ef63d86a03 OCA Transbot updated translations from Transifex 2019-03-07 09:24:55 +00:00
Jairo Llopis 21bde90c2f [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.
2019-03-07 09:24:55 +00:00
David 3e184540c7 [10.0][FIX] mail_tracking_mailgun: Avoid key dict errors 2019-03-07 09:24:55 +00:00
OCA Transbot 0648772312 OCA Transbot updated translations from Transifex 2019-03-07 09:24:55 +00:00
David 476b8d43e1 [10.0][IMP] mail_tracking_mailgun: add partner mail checks 2019-03-07 09:24:55 +00:00
OCA Transbot a5a5228d2d OCA Transbot updated translations from Transifex 2019-03-07 09:24:55 +00:00
David Vidal 3bd779dc98 [IMP] mute logger on tests error responses so Travis doesn't fail 2019-03-07 09:24:55 +00:00
OCA Transbot 39257da911 OCA Transbot updated translations from Transifex 2019-03-07 09:24:55 +00:00
Rafael Blasco 51087905ae Add Contributors
Both Carlos and me have work a lot in this module, maybe not coding but much testing and definition in usability
2019-03-07 09:24:55 +00:00
OCA Transbot 2af879ce3c OCA Transbot updated translations from Transifex 2019-03-07 09:24:55 +00:00
Damien Bouvy 316f061f49 [MIG] mail_tracking_mailgun: Migrated to 10.0 2019-03-07 09:24:55 +00:00
Pedro M. Baeza 6eda03b0e1 [MIG] Rename manifest files 2019-03-07 09:24:55 +00:00
Pedro M. Baeza 6eb1933aa6 [MIG] Make modules uninstallable 2019-03-07 09:24:55 +00:00
Antonio Espinosa 6b0ce2a49e [MIG] mail_tracking_mailgun 2019-03-07 09:24:55 +00:00
Antonio Espinosa 1c62dbdd82 [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
2019-03-07 09:24:55 +00:00
Antonio Espinosa cc2f9dcdcd [ADD] mail_tracking_mailgun 2019-03-07 09:24:55 +00:00
Antonio Espinosa aae76b50a9 OCA Transbot updated translations from Transifex 2019-03-07 09:24:55 +00:00
OCA Transbot 06ea1c54d8 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-12.0/social-12.0-mail_tracking
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_tracking/
2019-01-27 11:07:17 +00:00
oca-travis 97f461c850 [UPD] Update mail_tracking.pot 2019-01-15 08:39:56 +00:00
oca-travis 898a63d326 [UPD] Update mail_activity_partner.pot 2019-01-15 08:39:55 +00:00
OCA-git-bot 3b2ba4436a [ADD] setup.py 2019-01-15 08:29:53 +00:00
OCA-git-bot 82db639108 [UPD] README.rst 2019-01-15 08:29:53 +00:00
Jordi Ballester Alomar 7cab822166
Merge pull request #343 from Eficent/12.0-add-mail_activity_partner
[12.0][ADD] mail_activity_partner
2019-01-15 09:29:49 +01:00
Adrià Gil Sorribes f9dc35deea [12.0][ADD] Add module mail_activity_partner
[IMP] Change partner_id to a computed field

[IMP] Add tests to increase coverage
2019-01-15 08:19:54 +01:00
oca-travis 095ca28dc0 [UPD] Update mail_tracking.pot 2019-01-08 22:27:16 +00:00
OCA-git-bot f6329447ce [ADD] setup.py 2019-01-08 21:10:00 +00:00
Pedro M. Baeza 74e81c2fd7
Merge pull request #318 from Tecnativa/12.0-mig-mail_tracking
12.0 mig mail_tracking
2019-01-08 22:09:51 +01:00
ernesto 9f6d72034f [MIG] mail_tracking: Migration to 12.0 2019-01-07 02:40:06 -05:00
OCA Transbot 51746a68f5 Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2018-12-29 12:01:47 +00:00
oca-travis 50bff2e3db [UPD] Update email_template_qweb.pot 2018-12-20 09:56:33 +00:00
OCA-git-bot 2e49d5b63c [ADD] setup.py 2018-12-20 09:48:55 +00:00
OCA-git-bot c28b89d0c0 [UPD] README.rst 2018-12-20 09:48:55 +00:00
Pedro M. Baeza 6ed59e47d1
Merge pull request #341 from Tecnativa/12.0-mig-email_template_qweb
12.0 mig email_template_qweb
2018-12-20 10:48:50 +01:00