diff options
| author | Xavier Morel <xmo@tinyerp.com> | 2009-12-10 14:47:36 +0100 |
|---|---|---|
| committer | Xavier Morel <xmo@tinyerp.com> | 2009-12-10 14:47:36 +0100 |
| commit | f32bc4e6cf591ba560e6bd0ecdd4300f463685e9 (patch) | |
| tree | 190f77aa724eebfd16a27d66792a20c8cc619bc5 /bin/addons/base/module | |
| parent | a0a6b7df535fd9593b9cbf0c5fca6d285ce5fc6d (diff) | |
[rem] remove ir_actions_configuration_wizard
bzr revid: xmo@tinyerp.com-20091210134736-ackpf4bj6nu5eruf
Diffstat (limited to 'bin/addons/base/module')
| -rw-r--r-- | bin/addons/base/module/wizard/wizard_module_upgrade.py | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/bin/addons/base/module/wizard/wizard_module_upgrade.py b/bin/addons/base/module/wizard/wizard_module_upgrade.py index 051d6ca00c4..40d100fe2e0 100644 --- a/bin/addons/base/module/wizard/wizard_module_upgrade.py +++ b/bin/addons/base/module/wizard/wizard_module_upgrade.py @@ -92,13 +92,8 @@ class wizard_info_get(wizard.interface): return {} def _config(self, cr, uid, data, context=None): - return { - 'view_type': 'form', - "view_mode": 'form', - 'res_model': 'ir.actions.configuration.wizard', - 'type': 'ir.actions.act_window', - 'target':'new', - } + return pooler.get_pool(cr.dbname).get('res.config')\ + .next(cr, uid, [], context=context) states = { 'init': { @@ -183,13 +178,8 @@ class wizard_info_get_simple(wizard.interface): return {} def _config(self, cr, uid, data, context=None): - return { - 'view_type': 'form', - "view_mode": 'form', - 'res_model': 'ir.actions.configuration.wizard', - 'type': 'ir.actions.act_window', - 'target':'new', - } + return pooler.get_pool(cr.dbname).get('res.config')\ + .next(cr, uid, [], context=context) states = { 'init': { |
