[FIX] mail: get_template_value() will pass blank insted of '----' when we dont have...
authorRifakat Haradwala (Open ERP) <rha@tinyerp.com>
Thu, 28 Apr 2011 09:40:07 +0000 (15:10 +0530)
committerRifakat Haradwala (Open ERP) <rha@tinyerp.com>
Thu, 28 Apr 2011 09:40:07 +0000 (15:10 +0530)
bzr revid: rha@tinyerp.com-20110428094007-ebw3jn5f4zv81fuj

addons/mail/wizard/email_compose_message.py

index f758cf9..98fdd64 100644 (file)
@@ -185,7 +185,7 @@ class email_compose_message(osv.osv_memory):
                             'object' : self.pool.get(model).browse(cr, uid, resource_id),
                           })
             if result in (None, False):
-                return str("--------")
+                return str("")
             return tools.ustr(result)
 
         com = re.compile('(\$\{.+?\})')