summaryrefslogtreecommitdiff
path: root/addons/import_google/wizard/import_google_data.py
diff options
context:
space:
mode:
authorJigar Amin <jam@tinyerp.com>2011-06-24 17:36:07 +0530
committerJigar Amin <jam@tinyerp.com>2011-06-24 17:36:07 +0530
commitb9f9f3f4d65562e85a841e6ee28fcba1a44f0f10 (patch)
tree5b938250d73eed2dec82bf21a9e5ea771b870c70 /addons/import_google/wizard/import_google_data.py
parent9d885ead0ce3e8bff8890097fca98bcb8405d884 (diff)
[FIX] pickle bug
bzr revid: jam@tinyerp.com-20110624120607-rce5msvoiprj7c6j
Diffstat (limited to 'addons/import_google/wizard/import_google_data.py')
-rw-r--r--addons/import_google/wizard/import_google_data.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/addons/import_google/wizard/import_google_data.py b/addons/import_google/wizard/import_google_data.py
index 9c270b77991..fae404d103a 100644
--- a/addons/import_google/wizard/import_google_data.py
+++ b/addons/import_google/wizard/import_google_data.py
@@ -160,18 +160,13 @@ class synchronize_google(osv.osv_memory):
'password': gmail_pwd,
'calendars': calendars,
'instance': 'calendar'})
-
imp = google_import(self, cr, uid,'import_google' , "synchronize_google", gmail_user, context)
imp.set_table_list(tables)
imp.start()
- #Note: Cleaning timezone object from context to avoid pickle problem
- if 'au_tz' in context:
- context.pop('au_tz')
context.update({'message': msg})
obj_model = self.pool.get('ir.model.data')
model_data_ids = obj_model.search(cr,uid,[('model','=','ir.ui.view'),('name','=','view_google_import_message_form')])
resource_id = obj_model.read(cr, uid, model_data_ids, fields=['res_id'], context=context)[0]['res_id']
-
return {
'view_type': 'form',
'view_mode': 'form',