[FIX] caldav : bug on open any wizard
authorHarry (Open ERP) <hmo@tinyerp.com>
Mon, 4 Jan 2010 07:21:52 +0000 (12:51 +0530)
committerHarry (Open ERP) <hmo@tinyerp.com>
Mon, 4 Jan 2010 07:21:52 +0000 (12:51 +0530)
bzr revid: hmo@tinyerp.com-20100104072152-l0iji1w4697jxzb8

addons/caldav/common.py

index 6417005..5075812 100644 (file)
@@ -238,13 +238,13 @@ virtual_report_spool()
 
 class virtual_wizard(web_services.wizard):
     def exp_execute(self, db, uid, wiz_id, datas, action='init', context=None):
-        if wiz_id not in self.wiz_uid:
-            # TODO: To Check why need it
-            #if wiz_id == 1:
-            #    wiz_name ='base_setup.base_setup'
-            #if wiz_id == 2:
-            #    wiz_name ='module.upgrade'
-            super(virtual_wizard,self).exp_create(db, uid, wiz_name, datas)
+        #if wiz_id not in self.wiz_uid:
+        #    # TODO: To Check why need it
+        #    if wiz_id == 1:
+        #        wiz_name ='base_setup.base_setup'
+        #    if wiz_id == 2:
+        #        wiz_name ='module.upgrade'
+        #    super(virtual_wizard,self).exp_create(db, uid, wiz_name, datas)
         new_ids = []
         if 'id' in datas:
             datas['id'] = caldevIDs2readIDs(datas['id'])