diff options
| author | Christophe Simonis <chs@tinyerp.com> | 2010-01-12 13:06:54 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@tinyerp.com> | 2010-01-12 13:06:54 +0100 |
| commit | a67e67d07e479fb6f14516def7100f931a3bf3f3 (patch) | |
| tree | ffddca03321d44a2f70bc313adaf923af00bc915 /bin/addons/base/module | |
| parent | a0be2f8e46a52320096255092dbceb06a4ee555e (diff) | |
| parent | cf282de4dd5daae80545902ee78ec02e9d33639c (diff) | |
[MERGE]
bzr revid: chs@tinyerp.com-20100112120654-18ovzwjlu9dto1ct
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': { |
