diff options
| author | Husen Daudi <hda@tinyerp.com> | 2007-05-03 08:04:00 +0000 |
|---|---|---|
| committer | Husen Daudi <hda@tinyerp.com> | 2007-05-03 08:04:00 +0000 |
| commit | 8bccea6fb141bc4302b42c3b4abbe9c644d6dbe6 (patch) | |
| tree | ec22403d7c5e8d5e4ea37ad3df239b4f5b6ba0af /bin/addons/base/module/wizard/move_module_wizard.py | |
| parent | 40bed640beb0f2762414152a210df5daff7c8b11 (diff) | |
bzr revid: hda@tinyerp.com-7f676c8c3d057a1a8086f535b18b4a2288562484
Diffstat (limited to 'bin/addons/base/module/wizard/move_module_wizard.py')
| -rw-r--r-- | bin/addons/base/module/wizard/move_module_wizard.py | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/bin/addons/base/module/wizard/move_module_wizard.py b/bin/addons/base/module/wizard/move_module_wizard.py index b92b9ca9631..e47c0bb298a 100644 --- a/bin/addons/base/module/wizard/move_module_wizard.py +++ b/bin/addons/base/module/wizard/move_module_wizard.py @@ -15,10 +15,6 @@ move_module_form = '''<?xml version="1.0"?> <field name="module_name" colspan="4"/> <newline/> <newline/> - <field name="tourl" colspan="4"/> - <newline/> - <label/> - <label> Give full path with zip file name and .zip extension </label> </form>''' finish_form ='''<?xml version="1.0"?> @@ -87,17 +83,14 @@ class move_module_wizard(wizard.interface): #end def createzip(self, cr, uid, data, context): - def _init_wizard(self, cr, uid, data, context): - return {'tourl':os.getcwd()} - move_module_fields = { 'module_name': {'string':'Module Name', 'type':'selection', 'selection':_get_module,'required':True}, - 'tourl': {'string':'Server URL', 'type':'char', 'size':128 }, + } states = { 'init': { - 'actions': [_init_wizard], + 'actions': [], 'result': {'type':'form', 'arch':move_module_form, 'fields':move_module_fields, 'state':[('end','Cancel'),('makezip','Create Zip')]} }, 'makezip': { |
