[FIX] caldav : bug on open any wizard

bzr revid: hmo@tinyerp.com-20100104072152-l0iji1w4697jxzb8
This commit is contained in:
Harry (Open ERP) 2010-01-04 12:51:52 +05:30
parent 7429983a99
commit 0e12d8722a
1 changed files with 7 additions and 7 deletions

View 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'])