diff options
| author | Harry (OpenERP) <hmo@tinyerp.com> | 2011-02-25 17:27:15 +0530 |
|---|---|---|
| committer | Harry (OpenERP) <hmo@tinyerp.com> | 2011-02-25 17:27:15 +0530 |
| commit | 35df09c02820dc3486009b8cf5a88e9c9285ae89 (patch) | |
| tree | 6cdc47a350253cfd0608ce83d1005301620b15ec | |
| parent | d119099579cc73a617f17c5b4230ae0e43497d70 (diff) | |
[FIX] crm: set False value in email_from instead of None Value
bzr revid: hmo@tinyerp.com-20110225115715-di6jxycn7wvvs5d1
| -rw-r--r-- | addons/crm/wizard/email_compose_message.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/crm/wizard/email_compose_message.py b/addons/crm/wizard/email_compose_message.py index 595394478ba..f2241abfdcc 100644 --- a/addons/crm/wizard/email_compose_message.py +++ b/addons/crm/wizard/email_compose_message.py @@ -44,7 +44,7 @@ class email_compose_message(osv.osv_memory): result['email_to'] = data.email_from if 'email_from' in fields: - result['email_from'] = data.user_id and data.user_id.address_id and data.user_id.address_id.email + result['email_from'] = data.user_id and data.user_id.address_id and data.user_id.address_id.email or False if 'description' in fields: result['description'] = '\n' + (tools.ustr(data.user_id.signature or '')) |
