Turkesh Patel (openERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-bug-966981-tpa into 
lp:openobject-addons.

Requested reviews:
  OpenERP Core Team (openerp)
Related bugs:
  Bug #966981 in OpenERP Addons: "Repeating events produce http 409 errors when 
accessing webdav URI"
  https://bugs.launchpad.net/openobject-addons/+bug/966981

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-966981-tpa/+merge/104359


[FIX]: we can't export the .csv in calender.
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-966981-tpa/+merge/104359
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-966981-tpa.
=== modified file 'caldav/calendar.py'
--- caldav/calendar.py	2012-08-07 11:34:14 +0000
+++ caldav/calendar.py	2012-08-23 11:35:42 +0000
@@ -371,7 +371,7 @@
                         #START
                         model_obj = self.pool.get(model)
                         r_ids = []
-                        if model_obj._columns.get('recurrent_uid', None):
+                        if model_obj._columns.get('recurrent_uid', None) and isinstance(data[map_field], int):
                             cr.execute('SELECT id FROM %s WHERE recurrent_uid=%%s' % model_obj._table,
                                         (data[map_field],))
                             r_ids = map(lambda x: x[0], cr.fetchall())

_______________________________________________
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