Pankita Shah(OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-bug-986503-shp into 
lp:openobject-addons.

Requested reviews:
  Atul Patel(OpenERP) (atp-openerp)
Related bugs:
  Bug #986503 in OpenERP Addons: "timezone problem, caldav meeting time is 
different from webclient meeting time"
  https://bugs.launchpad.net/openobject-addons/+bug/986503

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-986503-shp/+merge/123717

hello,

 fix problem of timezone issue.

 with 
 revno : [email protected]
 addons revno : 7406
 server revno : 4408
 web    revno : 3047

 thanks
 shp

-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-986503-shp/+merge/123717
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-986503-shp.
=== modified file 'caldav/calendar.py'
--- caldav/calendar.py	2012-08-07 11:34:14 +0000
+++ caldav/calendar.py	2012-09-11 10:47:23 +0000
@@ -688,6 +688,12 @@
                 context.update({'model': line.object_id.model,
                                         'calendar_id': cal.id
                                         })
+                user = self.pool.get('res.users').browse(cr, uid, uid)
+                if user.tz: 
+                    tz = user.tz
+                for data in datas:
+                    if data['vtimezone'] == False:
+                        data['vtimezone'] = tz
                 self.__attribute__ = get_attribute_mapping(cr, uid, line.name, context)
                 self.create_ics(cr, uid, datas, line.name, ical, context=context)
         return ical.serialize()

_______________________________________________
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