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.
7 years ago
David
3e184540c7
[10.0][FIX] mail_tracking_mailgun: Avoid key dict errors
7 years ago
OCA Transbot
0648772312
OCA Transbot updated translations from Transifex
7 years ago
David
476b8d43e1
[10.0][IMP] mail_tracking_mailgun: add partner mail checks
7 years ago
OCA Transbot
a5a5228d2d
OCA Transbot updated translations from Transifex
7 years ago
David Vidal
3bd779dc98
[IMP] mute logger on tests error responses so Travis doesn't fail
7 years ago
OCA Transbot
39257da911
OCA Transbot updated translations from Transifex
8 years ago
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
8 years ago
OCA Transbot
2af879ce3c
OCA Transbot updated translations from Transifex
8 years ago
Damien Bouvy
316f061f49
[MIG] mail_tracking_mailgun: Migrated to 10.0
8 years ago
Pedro M. Baeza
6eda03b0e1
[MIG] Rename manifest files
8 years ago
Pedro M. Baeza
6eb1933aa6
[MIG] Make modules uninstallable
8 years ago
Antonio Espinosa
6b0ce2a49e
[MIG] mail_tracking_mailgun
8 years ago
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
8 years ago
Antonio Espinosa
cc2f9dcdcd
[ADD] mail_tracking_mailgun
8 years ago
Antonio Espinosa
aae76b50a9
OCA Transbot updated translations from Transifex
8 years ago
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/
6 years ago
oca-travis
97f461c850
[UPD] Update mail_tracking.pot
6 years ago
oca-travis
898a63d326
[UPD] Update mail_activity_partner.pot
6 years ago
OCA-git-bot
3b2ba4436a
[ADD] setup.py
6 years ago
OCA-git-bot
82db639108
[UPD] README.rst
6 years ago
Jordi Ballester Alomar
7cab822166
Merge pull request #343 from Eficent/12.0-add-mail_activity_partner
[12.0][ADD] mail_activity_partner
6 years ago
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
6 years ago
oca-travis
095ca28dc0
[UPD] Update mail_tracking.pot
6 years ago
OCA-git-bot
f6329447ce
[ADD] setup.py
6 years ago
Pedro M. Baeza
74e81c2fd7
Merge pull request #318 from Tecnativa/12.0-mig-mail_tracking
12.0 mig mail_tracking
6 years ago
ernesto
9f6d72034f
[MIG] mail_tracking: Migration to 12.0
6 years ago
OCA Transbot
51746a68f5
Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
6 years ago
oca-travis
50bff2e3db
[UPD] Update email_template_qweb.pot
6 years ago
OCA-git-bot
2e49d5b63c
[ADD] setup.py
6 years ago
OCA-git-bot
c28b89d0c0
[UPD] README.rst
6 years ago
Pedro M. Baeza
6ed59e47d1
Merge pull request #341 from Tecnativa/12.0-mig-email_template_qweb
12.0 mig email_template_qweb
6 years ago
eduardgm
e2acd62923
Translated using Weblate (Catalan)
Currently translated at 96.3% (79 of 82 strings)
Translation: social-11.0/social-11.0-mail_tracking
Translate-URL: https://translation.odoo-community.org/projects/social-11-0/social-11-0-mail_tracking/ca/
6 years ago
Pedro M. Baeza
a60910f51a
[IMP] mail_tracking: Put button box at the end of the view
For giving more priority to other buttons like the invoices one.
6 years ago
Piotr Kowalski
7950f852b8
Fix README.rst images not visible in GitHub and Odoo
Closes #303
6 years ago
David Vidal
29b465365f
[IMP] mail_tracking: email score performance ( #299 )
6 years ago
c2cdidier
84a78c20e2
Translated using Weblate (French) [ci skip]
Currently translated at 100.0% (82 of 82 strings)
Translation: social-11.0/social-11.0-mail_tracking
Translate-URL: https://translation.odoo-community.org/projects/social-11-0/social-11-0-mail_tracking/fr/
6 years ago
oca-travis
cb209046d8
[UPD] Update mail_tracking.pot
6 years ago
David
0fd2b031ef
[MIG] mail_tracking: Migration to 11.0
7 years ago
Emanuel Cino
9365804a27
[FIX] mail_tracking js could break other modules using chat_manager
7 years ago
eLBati
3f490609c5
IMP mail_tracking performances
On our server,
queries based on "mail_tracking_event"."tracking_email_id" improved from 501,924 ms to 1,840 ms
queries based on "mail_tracking_email"."mail_message_id" improved from 167,436 ms to 3,223 ms
The last ones are run several times when a thread has many messages
7 years ago
OCA Transbot
9aca8f5141
OCA Transbot updated translations from Transifex
7 years ago
Antonio Espinosa
0c02f4bab5
[FIX] mail_tracking: bugfixes ( #199 )
* [FIX] Only one data-odoo-tracking-email tag in each email
* [FIX] Get status even in multicompany instances
7 years ago
Carlos Dauden
0994ada510
[9.0][IMP] mail_tracking: Improve view with error details
8 years ago
OCA Transbot
8773d8234f
OCA Transbot updated translations from Transifex
7 years ago
David Vidal
418b0074d7
[IMP] Shut mock exceptions up
7 years ago
OCA Transbot
82637135ca
OCA Transbot updated translations from Transifex
8 years ago
Pedro M. Baeza
ecb876f911
[FIX] mail_tracking: Obtain outgoing server with sudo
As regular users can't access this object.
8 years ago
OCA Transbot
f9502bf885
OCA Transbot updated translations from Transifex
8 years ago
Juan Jose Scarafia
e87e745d62
[FIX][9.0] partner buttons view on enterprise
8 years ago