diff options
| author | Xavier Morel <xmo@tinyerp.com> | 2009-11-28 12:58:09 +0100 |
|---|---|---|
| committer | Xavier Morel <xmo@tinyerp.com> | 2009-11-28 12:58:09 +0100 |
| commit | 70ab8c460759f70e738f795bb2d1954af1a8f1ec (patch) | |
| tree | b1de2619687a06075e92e624006e8eab60184421 /bin/wizard/__init__.py | |
| parent | 44a11226fe23c693c65036f8a94ba70bad154bcf (diff) | |
[IMP] removal of usages of the deprecated node.getchildren call, better usage of the attributes & tostring ET APIs, style fixes
bzr revid: xmo@tinyerp.com-20091128115809-pk5zqrc3zp8h6pir
Diffstat (limited to 'bin/wizard/__init__.py')
| -rw-r--r-- | bin/wizard/__init__.py | 2 |
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): |
