v 8.0 v 9.0 v 10.0 v 11.0 v 12.0 Third Party 3503
Download for v 12.0 Deploy on Odoo.sh
Odoo Online
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 40
Technical Name mail_debrand
Versions 10.0 14.0 15.0 11.0 16.0 13.0 12.0 8.0 9.0
You bought this module and need support? Click here!

Mail Debrand

Production/Stable License: AGPL-3 OCA/social Translate me on Weblate Try me on Runboat

This module modifies the functionality of emails to remove the Odoo branding, specifically the ‘using Odoo’ of notifications or the ‘Powered by Odoo’

Table of contents


To use this module, you need to:

  • Install it.
  • Send an email.
  • Nobody will know it comes from Odoo.

Changelog (2018-11-06)

  • [NEW] Initial V12 version. Complete rewrite from v11.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.



  • Tecnativa
  • Eficent



This module is maintained by the OCA.

Odoo Community Association

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.

Current maintainer:


This module is part of the OCA/social project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
There are no ratings yet!
TypeError: argument of type 'NoneType' is not iterable
Somporn Janthra
on 12/10/19, 7:56 AM

Odoo Server Error Traceback (most recent call last): File "/usr/lib/python3/dist-packages/odoo/http.py", line 656, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/usr/lib/python3/dist-packages/odoo/http.py", line 314, in _handle_exception raise pycompat.reraise(type(exception), exception, sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/odoo/tools/pycompat.py", line 87, in reraise raise value File "/usr/lib/python3/dist-packages/odoo/http.py", line 698, in dispatch result = self._call_function(**self.params) File "/usr/lib/python3/dist-packages/odoo/http.py", line 346, in _call_function return checked_call(self.db, *args, **kwargs) File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 97, in wrapper return f(dbname, *args, **kwargs) File "/usr/lib/python3/dist-packages/odoo/http.py", line 339, in checked_call result = self.endpoint(*a, **kw) File "/usr/lib/python3/dist-packages/odoo/http.py", line 941, in __call__ return self.method(*args, **kw) File "/usr/lib/python3/dist-packages/odoo/http.py", line 519, in response_wrap response = f(*args, **kw) File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 966, in call_button action = self._call_kw(model, method, args, {}) File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 954, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "/usr/lib/python3/dist-packages/odoo/api.py", line 759, in call_kw return _call_kw_multi(method, model, args, kwargs) File "/usr/lib/python3/dist-packages/odoo/api.py", line 746, in _call_kw_multi result = method(recs, *args, **kwargs) File "/usr/lib/python3/dist-packages/odoo/addons/portal/wizard/portal_wizard.py", line 59, in action_apply self.user_ids.action_apply() File "/usr/lib/python3/dist-packages/odoo/addons/portal/wizard/portal_wizard.py", line 146, in action_apply wizard_user.with_context(active_test=True)._send_email() File "/usr/lib/python3/dist-packages/odoo/addons/portal/wizard/portal_wizard.py", line 187, in _send_email template.with_context(dbname=self._cr.dbname, portal_url=portal_url, lang=lang).send_mail(wizard_line.id, force_send=True) File "/usr/lib/python3/dist-packages/odoo/addons/mail/models/mail_template.py", line 518, in send_mail values = self.generate_email(res_id) File "/usr/lib/python3/dist-packages/odoo/addons/mail/models/mail_template.py", line 447, in generate_email post_process=(field == 'body_html')) File "/usr/lib/python3/dist-packages/odoo/addons/mail/models/mail_template.py", line 345, in _render_template results[res_id] = self.render_post_process(result) File "/addons/mail_debrand/models/mail_template.py", line 41, in render_post_process html = super().render_post_process(html) File "/usr/lib/python3/dist-packages/odoo/addons/mail/models/mail_template.py", line 288, in render_post_process html = self.env['mail.thread']._replace_local_links(html) File "/addons/mail_debrand/models/mail_thread.py", line 13, in _replace_local_links html_debranded = self.env["mail.template"]._debrand_body(html) File "/addons/mail_debrand/models/mail_template.py", line 31, in _debrand_body for child in elem.getchildren() File "/addons/mail_debrand/models/mail_template.py", line 31, in for child in elem.getchildren() TypeError: argument of type 'NoneType' is not iterable

great plugin
Rubens Ben
on 11/3/19, 3:47 AM

works like a charm