Jairo Llopis
a43bfa843a
[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.
social
TODO: add repo description.
Available addons
addon | version | maintainers | summary |
---|---|---|---|
base_search_mail_content | 15.0.1.0.1 | Base Search Mail Content | |
mail_activity_board | 15.0.1.0.0 | Add Activity Boards | |
mail_activity_creator | 15.0.1.0.0 | Show activities creator | |
mail_activity_done | 15.0.1.0.0 | Mail Activity Done | |
mail_activity_partner | 15.0.1.0.0 | Add Partner to Activities | |
mail_activity_team | 15.0.1.2.0 | Add Teams to Activities | |
mail_attach_existing_attachment | 15.0.1.0.0 | Adding attachment on the object by sending this one | |
mail_debrand | 15.0.1.2.0 | Remove Odoo branding in sent emails Removes anchor <a href odoo.com togheder with it's parent ( for powerd by) form all the templates removes any 'odoo' that are in tempalte texts > 20characters | |
mail_optional_follower_notification | 15.0.1.0.1 | Choose to notify followers on mail.compose.message | |
mail_outbound_static | 15.0.1.0.0 | Allows you to configure the from header for a mail server. | |
mail_preview_base | 15.0.1.0.0 | Base to add more previewing options | |
mail_show_follower | 15.0.1.2.1 | Show CC document followers in mails. | |
mail_tracking | 15.0.1.0.1 | Email tracking system for all mails sent |
Licenses
This repository is licensed under AGPL-3.0.
However, each module can have a totally different license, as long as they adhere to Odoo Community Association (OCA)
policy. Consult each module's __manifest__.py
file, which contains a license
key
that explains its license.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
Description
Languages
Python
48.5%
HTML
42.2%
JavaScript
8%
SCSS
1.3%