just modified the patch a bit before final merge

=== modified file 'bin/widget/view/calendar_gtk/parser.py'
--- bin/widget/view/calendar_gtk/parser.py      2011-10-31 09:12:35 +0000
+++ bin/widget/view/calendar_gtk/parser.py      2012-07-20 06:25:32 +0000
@@ -440,13 +440,14 @@
 
             if isinstance(s, (tuple, list)): s = s[-1]
 
-            caption = ustr(s)
-
+            if not (isinstance(s,bool) or self.fields[f]['type'] == 'boolean'):
+                caption = ustr(s)
+                
             for f in self.axis[1:]:
                 s = event[f]
                 if isinstance(s, (tuple, list)): s = s[-1]
-
-                description += [ustr(s)]
+                if not (isinstance(s, bool) or self.fields[f]['type'] == 
'boolean'):
+                    description += [ustr(s)]
 
         starts = event.get(self.date_start)
         ends = event.get(self.date_delay) or 1.0

-- 
https://code.launchpad.net/~openerp-dev/openobject-client/6.1-opw-575749-rgo/+merge/109836
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-client/6.1-opw-575749-rgo.

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to