Run config wizard after module install

This commit is contained in:
Cédric Krier
2008-02-29 13:16:58 +01:00
parent 89b10c172e
commit 3d1f0da70d
+14 -1
View File
@@ -679,10 +679,23 @@ class ModuleInstallUpgrade(Wizard):
'type': 'form',
'object': 'ir.module.module.install_upgrade.start',
'state': [
('end', 'Close', 'gtk-close', True),
('config', 'Ok', 'gtk-ok', True),
],
},
},
'config': {
'result': {
'type': 'action',
'action': '_config',
'state': 'end',
},
},
}
def _config(self, cursor, user, data, context=None):
return {
'type': 'ir.action.wizard',
'wiz_name': 'ir.module.module.config_wizard',
}
ModuleInstallUpgrade()