From 0e12d8722a838d7c1a3ca3814ea852151237a962 Mon Sep 17 00:00:00 2001 From: "Harry (Open ERP)" Date: Mon, 4 Jan 2010 12:51:52 +0530 Subject: [PATCH] [FIX] caldav : bug on open any wizard bzr revid: hmo@tinyerp.com-20100104072152-l0iji1w4697jxzb8 --- addons/caldav/common.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/addons/caldav/common.py b/addons/caldav/common.py index 64170052b26..507581297fd 100644 --- a/addons/caldav/common.py +++ b/addons/caldav/common.py @@ -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'])