[FIX] mail: get_template_value() will pass blank insted of '----' when we dont have value for the field
bzr revid: rha@tinyerp.com-20110428094007-ebw3jn5f4zv81fuj
This commit is contained in:
parent
ec101f8ec3
commit
9d5a04fa58
|
@ -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('(\$\{.+?\})')
|
||||
|
|
Loading…
Reference in New Issue