[FIX] email template mailbox from field
- Use variable name (email_id) instead of string ('email_id') - Remove comma at end of line so that email_from local variable type is unicode, and not tuple of unicode bzr revid: olivier.ligot@groupes.be-20110113130217-ibc8pc7vy11ekntm
This commit is contained in:
parent
0d4383f970
commit
f76cb13bed
|
@ -574,7 +574,7 @@ This is useful for CRM leads for example"),
|
|||
# we should keep it all, name is probably specified in the address
|
||||
email_from = from_account['email_id']
|
||||
else:
|
||||
email_from = tools.ustr(from_account['name']) + "<" + tools.ustr('email_id') + ">",
|
||||
email_from = tools.ustr(from_account['name']) + "<" + tools.ustr(email_id) + ">"
|
||||
|
||||
# FIXME: should do this in a loop and rename template fields to the corresponding
|
||||
# mailbox fields. (makes no sense to have different names I think.
|
||||
|
|
Loading…
Reference in New Issue