From 8ffbcf02ceb188fb27a695dbf8c395aefe153bf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 27 Feb 2008 10:51:41 +0100 Subject: [PATCH] Remove call to download as there no more repositories --- trytond/ir/module/module.py | 5 ----- trytond/ir/module/module.xml | 2 -- 2 files changed, 7 deletions(-) diff --git a/trytond/ir/module/module.py b/trytond/ir/module/module.py index c14b7c13d8..61abdf09e7 100644 --- a/trytond/ir/module/module.py +++ b/trytond/ir/module/module.py @@ -521,7 +521,6 @@ ModuleUpdateList() class ModuleInstallUpgradeInit(WizardOSV): _name = 'ir.module.module.install_upgrade.init' module_info = fields.Text('Modules to update', readonly=True) - module_download = fields.Text('Modules to download', readonly=True) ModuleInstallUpgradeInit() @@ -542,12 +541,9 @@ class ModuleInstallUpgrade(Wizard): ('state', 'in', ['to upgrade', 'to remove', 'to install']), ], context=context) modules = module_obj.browse(cursor, user, module_ids, context=context) - url = module_obj.download(cursor, user, module_ids, download=False, - context=context) return { 'module_info': '\n'.join([x.name + ': ' + x.state \ for x in modules]), - 'module_download': '\n'.join(url), } def _upgrade_module(self, cursor, user, data, context): @@ -559,7 +555,6 @@ class ModuleInstallUpgrade(Wizard): module_ids = module_obj.search(cursor, user, [ ('state', 'in', ['to upgrade', 'to remove', 'to install']), ], context=context) - module_obj.download(cursor, user, module_ids, context=context) lang_ids = lang_obj.search(cursor, user, [ ('translatable', '=', True), ], context=context) diff --git a/trytond/ir/module/module.xml b/trytond/ir/module/module.xml index 997cb7a1df..a14a12e70e 100644 --- a/trytond/ir/module/module.xml +++ b/trytond/ir/module/module.xml @@ -162,8 +162,6 @@ colspan="4"/> - - ]]>