[FIX]mail_followers: signature at the end of mail should be "sent by" and not "send by"
bzr revid: csn@openerp.com-20130429092532-3h31kduga1h0chbb
This commit is contained in:
parent
ae9b17ed1e
commit
724cbb6dee
|
@ -118,8 +118,8 @@ class mail_notification(osv.Model):
|
||||||
Administrator
|
Administrator
|
||||||
</p>
|
</p>
|
||||||
<div>
|
<div>
|
||||||
<small>Send by <a ...>Your Company</a> using <a ...>OpenERP</a>.</small> OR
|
<small>Sent by <a ...>Your Company</a> using <a ...>OpenERP</a>.</small> OR
|
||||||
<small>Send by Administrator using <a ...>OpenERP</a>.</small>
|
<small>Sent by Administrator using <a ...>OpenERP</a>.</small>
|
||||||
</div>
|
</div>
|
||||||
"""
|
"""
|
||||||
footer = ""
|
footer = ""
|
||||||
|
@ -139,7 +139,7 @@ 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>Sent 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>"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue