From 72211bb8bf7793e4e60cc6be990337205e0a9698 Mon Sep 17 00:00:00 2001 From: "ced@b2ck.com" Date: Sat, 29 Dec 2007 00:35:21 +0100 Subject: [PATCH] Add pool to wizard and first wizard for module (update list) --- trytond/ir/module/module.py | 87 ++++++++++ trytond/ir/module/module.xml | 8 + trytond/module.py | 2 + trytond/pooler.py | 16 +- trytond/web_service/wizard.py | 6 +- trytond/wizard/wizard.py | 294 ++++++++++++++++++++++------------ 6 files changed, 305 insertions(+), 108 deletions(-) diff --git a/trytond/ir/module/module.py b/trytond/ir/module/module.py index 9bdc0d9491..6c6ec5946d 100644 --- a/trytond/ir/module/module.py +++ b/trytond/ir/module/module.py @@ -7,6 +7,7 @@ from trytond.osv import fields, OSV import trytond.tools as tools from trytond.module import ADDONS_PATH from trytond.osv.orm import ExceptORM +from trytond.wizard import Wizard VER_REGEXP = re.compile( "^(\\d+)((\\.\\d+)*)([a-z]?)((_(pre|p|beta|alpha|rc)\\d*)*)(-r(\\d+))?$") @@ -536,3 +537,89 @@ class ModuleDependency(OSV): } ModuleDependency() + + +class ModuleUpdateList(Wizard): + "Update module list" + _name = 'ir.module.module.update_list' + + arch = ''' +
+