[FIX] mail: translate issue
bzr revid: tde@openerp.com-20130325151259-dghrblczpge5kgpr
This commit is contained in:
parent
0d329163d1
commit
6f72fe3235
|
@ -139,10 +139,10 @@ class mail_notification(osv.Model):
|
||||||
company = user.company_id.website and "<a style='color:inherit' href='%s'>%s</a>" % (user.company_id.website, user.company_id.name) or user.company_id.name
|
company = user.company_id.website and "<a style='color:inherit' href='%s'>%s</a>" % (user.company_id.website, user.company_id.name) or user.company_id.name
|
||||||
else:
|
else:
|
||||||
company = user.name
|
company = user.name
|
||||||
signature_company = _('<small>Send by %(company)s using %(openerp)s.</small>' % {
|
signature_company = _('<small>Send by %(company)s using %(openerp)s.</small>') % {
|
||||||
'company': company,
|
'company': company,
|
||||||
'openerp': "<a style='color:inherit' href='https://www.openerp.com/'>OpenERP</a>"
|
'openerp': "<a style='color:inherit' href='https://www.openerp.com/'>OpenERP</a>"
|
||||||
})
|
}
|
||||||
footer = tools.append_content_to_html(footer, signature_company, plaintext=False, container_tag='div')
|
footer = tools.append_content_to_html(footer, signature_company, plaintext=False, container_tag='div')
|
||||||
|
|
||||||
return footer
|
return footer
|
||||||
|
|
Loading…
Reference in New Issue