Jairo Llopis
54d9eb16a6
[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
5d38ff8540
[10.0][FIX] mail_tracking_mailgun: Avoid key dict errors
7 years ago
OCA Transbot
929c4df87d
OCA Transbot updated translations from Transifex
7 years ago
David
2957581fdb
[10.0][IMP] mail_tracking_mailgun: add partner mail checks
7 years ago
OCA Transbot
667edfd8d7
OCA Transbot updated translations from Transifex
7 years ago
David Vidal
b93c01f908
[IMP] mute logger on tests error responses so Travis doesn't fail
7 years ago
OCA Transbot
84e9ae93ce
OCA Transbot updated translations from Transifex
8 years ago
Rafael Blasco
5db6959081
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
6d76181020
OCA Transbot updated translations from Transifex
8 years ago
Damien Bouvy
b4b899e373
[MIG] mail_tracking_mailgun: Migrated to 10.0
8 years ago
Pedro M. Baeza
4c59cc9b46
[MIG] Rename manifest files
8 years ago
Pedro M. Baeza
26b70dbb33
[MIG] Make modules uninstallable
8 years ago
Antonio Espinosa
3d89ee6f6e
[MIG] mail_tracking_mailgun
8 years ago
Antonio Espinosa
62a93e474b
[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
6204b2bb3e
[ADD] mail_tracking_mailgun
8 years ago
Antonio Espinosa
bedcc1ba20
OCA Transbot updated translations from Transifex
8 years ago
David
bae9999b19
[MIG] mail_tracking: Migration to 11.0
7 years ago
Emanuel Cino
150d0d060c
[FIX] mail_tracking js could break other modules using chat_manager
7 years ago
eLBati
4173794526
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
2c0306293c
OCA Transbot updated translations from Transifex
7 years ago
Antonio Espinosa
9c2236056d
[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
59929c298e
[9.0][IMP] mail_tracking: Improve view with error details
8 years ago
OCA Transbot
b55c2ff9b0
OCA Transbot updated translations from Transifex
7 years ago
David Vidal
88573ca875
[IMP] Shut mock exceptions up
7 years ago
OCA Transbot
8815c68c5a
OCA Transbot updated translations from Transifex
8 years ago
Pedro M. Baeza
015f796404
[FIX] mail_tracking: Obtain outgoing server with sudo
As regular users can't access this object.
8 years ago
OCA Transbot
37d37b3a16
OCA Transbot updated translations from Transifex
8 years ago
Juan Jose Scarafia
75d27de57a
[FIX][9.0] partner buttons view on enterprise
8 years ago
Antonio Espinosa
465abccc13
[FIX] Sender label is repeated in search fields
8 years ago
Antonio Espinosa
866bd3b6d0
[9.0][FIX][mail_tracking] Control exception when mail_message was removed ( #132 )
8 years ago
Antonio Espinosa
aa5628abbd
[8.0][FIX][mail_tracking] Use event recipient address to find partners and contacts to bounce ( #133 )
8 years ago
OCA Transbot
2407ca0d73
OCA Transbot updated translations from Transifex
8 years ago
Antonio Espinosa
83242949d7
Add access to portal/public user to his own email trackings
8 years ago
Antonio Espinosa
d07558c455
[IMP] mail_tracking: Allow to define a custom mail_tracking base url
8 years ago
Antonio Espinosa
dedd39493a
[IMP] mail_tracking performance and bounce process ( #103 )
8 years ago
Damien Bouvy
2cb4a5b628
[MIG] mail_tracking: Migrated to 10.0
8 years ago
Pedro M. Baeza
a4aab202bf
[MIG] Make modules uninstallable
8 years ago
Pedro M. Baeza
7c95d2b909
[FIX] mail_tracking: Typo
8 years ago
OCA Transbot
3f02932e29
OCA Transbot updated translations from Transifex
8 years ago
Antonio Espinosa
2a16997c1c
[MIG] mail_tracking
* Improve tests
* Show trackings even if partner removed
* Disable CSRF protection to webhooks controllers
8 years ago
Antonio Espinosa
6585c28029
[FIX] Update email_score when email changes
8 years ago
Antonio Espinosa
2ce03efc7f
[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
OCA Transbot
2de3fc798f
OCA Transbot updated translations from Transifex
9 years ago
Antonio Espinosa
9443c971af
[8.0][ADD] mail_tracking addon ( #67 )
* [ADD] mail_tracking addon
* Add description icon
* Fixes remarked
* Fix Travis error
* Remarks fixed
9 years ago
OCA Git Bot
953ed7a2ff
[ADD] setup.py
7 years ago
Jordi Ballester Alomar
d5ddc13a47
Merge pull request #265 from Eficent/11.0-mig-mail_debrand
[11.0][MIG] mail_debrand
7 years ago
Lois Rilo
88f67a1f8f
[11.0][MIG] mail_debrand
7 years ago
OCA Transbot
301e357b76
OCA Transbot updated translations from Transifex
7 years ago
Pedro M. Baeza
17556160bb
[MIG] mail_debrand
There's no commits preservation, as the module doesn't serve as is on v9.
8 years ago
OCA Git Bot
1098c281cf
[ADD] setup.py [ci skip]
7 years ago