summaryrefslogtreecommitdiff
path: root/addons/document_ics
diff options
context:
space:
mode:
authorFabien Pinckaers <fp@tinyerp.com>2008-12-20 06:19:44 +0100
committerFabien Pinckaers <fp@tinyerp.com>2008-12-20 06:19:44 +0100
commite6ff374e97ffd793ae330a809876ea462d401372 (patch)
treee758741ba7342b5a19c056695ef4aee3bf7eddf3 /addons/document_ics
parentd67e5ca42fd678d0a68da2d8a0de8dec37c61777 (diff)
modifs
bzr revid: fp@tinyerp.com-20081220051944-hv3tujbwsirmk456
Diffstat (limited to 'addons/document_ics')
-rw-r--r--addons/document_ics/document.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/document_ics/document.py b/addons/document_ics/document.py
index 627edc48cd0..2e9ffcd0716 100644
--- a/addons/document_ics/document.py
+++ b/addons/document_ics/document.py
@@ -120,7 +120,7 @@ class document_directory_content(osv.osv):
if type(value)==type(obj):
value=value.name
value = value or ''
- event.add(field.name).value = value and value.decode('utf8') or ''
+ event.add(field.name).value = value or ''
elif ICS_TAGS[field.name]=='date':
dt = value or time.strftime('%Y-%m-%d %H:%M:%S')
if len(dt)==10: