diff options
| author | Xavier Morel <xmo@openerp.com> | 2012-01-17 10:47:48 +0100 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2012-01-17 10:47:48 +0100 |
| commit | e99358e2fa673e611ca4fd94d849151a0374d89f (patch) | |
| tree | d7c41b5dabc231e1e8dd8987df168d44744c175b /addons/web/controllers/main.py | |
| parent | e4697c48a1373837890a2f7dabb82cffe98cb7f0 (diff) | |
[IMP] Xml2JSON: remove useless class indirection and unused methods
bzr revid: xmo@openerp.com-20120117094748-g9470elsdpx78im8
Diffstat (limited to 'addons/web/controllers/main.py')
| -rw-r--r-- | addons/web/controllers/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/controllers/main.py b/addons/web/controllers/main.py index 191f184da5b..7b2ad5b311c 100644 --- a/addons/web/controllers/main.py +++ b/addons/web/controllers/main.py @@ -933,7 +933,7 @@ class View(openerpweb.Controller): xml = self.transform_view(arch, session, evaluation_context) else: xml = ElementTree.fromstring(arch) - fvg['arch'] = web.common.xml2json.Xml2Json.convert_element(xml, preserve_whitespaces) + fvg['arch'] = web.common.xml2json.from_elementtree(xml, preserve_whitespaces) for field in fvg['fields'].itervalues(): if field.get('views'): |
