summaryrefslogtreecommitdiff
path: root/bin/wizard/__init__.py
diff options
context:
space:
mode:
authorXavier Morel <xmo@tinyerp.com>2009-12-02 10:30:08 +0100
committerXavier Morel <xmo@tinyerp.com>2009-12-02 10:30:08 +0100
commit91c515382cdebe8a7538191c8dedc023c8868e1a (patch)
tree5fe5bfaaa63b7e7149c8d3ec449082eda5f3fd96 /bin/wizard/__init__.py
parentcf13b6c36e0e597389327b09de2b810bc68a2d76 (diff)
parent474af4cd6e6f00759589c4bee9cebf9d7d26b0d8 (diff)
[merge] 5.0-lxml-fixes into trunk
bzr revid: xmo@tinyerp.com-20091202092042-36gz0wkbu27aetvc bzr revid: xmo@tinyerp.com-20091202093008-9uwo63c0bwdh8eaw
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 456fa6efb32..72811589300 100644
--- a/bin/wizard/__init__.py
+++ b/bin/wizard/__init__.py
@@ -53,7 +53,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):