[IMP]: base_setup: Improved query to set the state of config wizard of selected module,
before if I select "account" (for example) from the application list, it was setting config wizard of account* as todo bzr revid: rpa@tinyerp.com-20110427105135-98bdd0zcy1jjii5m
This commit is contained in:
parent
b6428f5b9d
commit
16e0db32bc
|
@ -146,7 +146,7 @@ class base_setup_installer(osv.osv_memory):
|
|||
elif i.state == 'installed':
|
||||
if modules_selected:
|
||||
for instl in modules_selected:
|
||||
cr.execute("update ir_actions_todo set state='open' from ir_model_data as data where data.res_id = ir_actions_todo.id and data.model = 'ir.actions.todo' and data.module like '%"+instl+"%'")
|
||||
cr.execute("update ir_actions_todo set state='open' from ir_model_data as data where data.res_id = ir_actions_todo.id and data.model = 'ir.actions.todo' and data.module=%s", (instl, ))
|
||||
|
||||
return
|
||||
|
||||
|
|
Loading…
Reference in New Issue