diff --git a/mail_debrand/__openerp__.py b/mail_debrand/__openerp__.py index d4bf534f..ca2d0198 100644 --- a/mail_debrand/__openerp__.py +++ b/mail_debrand/__openerp__.py @@ -4,7 +4,7 @@ { "name": "Mail Debrand", "summary": "Remove Odoo branding from email footers", - "version": "8.0.1.0.1", + "version": "8.0.1.0.2", "category": "Social Network", "website": "http://www.antiun.com", "author": "Antiun IngenierĂ­a S.L., Odoo Community Association (OCA)", diff --git a/mail_debrand/models/mail.py b/mail_debrand/models/mail.py index 811c93d7..fdd2c448 100644 --- a/mail_debrand/models/mail.py +++ b/mail_debrand/models/mail.py @@ -44,8 +44,9 @@ class MailNotification(models.Model): if website: if not website.startswith(('http:', 'https:')): website = "http://" + website - company = ("%s" % + company = ("%s" % (website, user.company_id.name)) else: company = user.company_id.name - return _('Sent by %s') % company + sent_by = _('Sent by %s') % company + return '
%s' % sent_by