[FIX]: caldav: Minor fix for exporting selection value
authorrpa (Open ERP) <rpa@tinyerp.com>
Wed, 22 Sep 2010 11:36:56 +0000 (17:06 +0530)
committerrpa (Open ERP) <rpa@tinyerp.com>
Wed, 22 Sep 2010 11:36:56 +0000 (17:06 +0530)
bzr revid: rpa@tinyerp.com-20100922113656-u3ccvvazvgmqx7h3

addons/caldav/calendar.py

index 01c3588..4f9afb0 100644 (file)
@@ -453,7 +453,7 @@ class CalDAV(object):
                             else:
                                 for key1, val1 in self.ical_get(field, 'mapping').items():
                                     if val1 == data[map_field]:
-                                        vevent.add(field).value = key1
+                                        vevent.add(field).value = key1.upper()
         return vevent
 
     def check_import(self, cr, uid, vals, context=None):