[FIX] Deep copy
authorStephane Wirtel <stephane@tinyerp.com>
Mon, 26 Jan 2009 18:50:29 +0000 (19:50 +0100)
committerStephane Wirtel <stephane@tinyerp.com>
Mon, 26 Jan 2009 18:50:29 +0000 (19:50 +0100)
bzr revid: stephane@tinyerp.com-20090126185029-uy0i1w17scejq64s

bin/wizard/__init__.py

index 495e234..5635b11 100644 (file)
@@ -82,7 +82,7 @@ class interface(netsvc.Service):
             if result_def['type'] == 'action':
                 res['action'] = result_def['action'](self, cr, uid, data, context)
             elif result_def['type'] == 'form':
-                fields = copy.copy(result_def['fields'])
+                fields = copy.deepcopy(result_def['fields'])
                 arch = copy.copy(result_def['arch'])
                 button_list = copy.copy(result_def['state'])