summaryrefslogtreecommitdiff
path: root/bin/wizard/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'bin/wizard/__init__.py')
-rw-r--r--bin/wizard/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/wizard/__init__.py b/bin/wizard/__init__.py
index 378f9ac4563..428a85537db 100644
--- a/bin/wizard/__init__.py
+++ b/bin/wizard/__init__.py
@@ -54,7 +54,7 @@ class interface(netsvc.Service):
trans = translate(cr, self.wiz_name+','+state, 'wizard_view', lang, node.get('string').encode('utf8'))
if trans:
node.set('string', trans)
- for n in node.getchildren():
+ for n in node:
self.translate_view(cr, n, state, lang)
def execute_cr(self, cr, uid, data, state='init', context=None):