From a5c153ea2cff4e51c2dc64c4e3ff57fa041b915b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 16 Jun 2008 23:16:38 +0200 Subject: [PATCH] Remove pyxml dependency, use lxml instead --- purchase.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/purchase.py b/purchase.py index c0d2b3ac29..3a56415b2e 100644 --- a/purchase.py +++ b/purchase.py @@ -12,11 +12,11 @@ class PurchaseLine(OSV): 'invisible': "type != 'line'", }) - def _view_look_dom_arch(self, cursor, user, node, context=None): + def _view_look_dom_arch(self, cursor, user, tree, context=None): analytic_account_obj = self.pool.get('analytic_account.account') - analytic_account_obj.convert_view(cursor, user, node, context=context) + analytic_account_obj.convert_view(cursor, user, tree, context=context) arch, fields = super(PurchaseLine, self)._view_look_dom_arch(cursor, - user, node, context=context) + user, tree, context=context) return arch, fields def fields_get(self, cursor, user, fields_names=None, context=None):