Fix new param in _view_look_dom_arch

This commit is contained in:
Cédric Krier committed 2008-06-26 19:03:45 +02:00
1 parent 06320b82a2
commit 478f145f77
1 file changed
+2 -2
+2 -2
View File
@@ -13,11 +13,11 @@ class PurchaseLine(OSV):
'invisible': "type != 'line'",
})
def _view_look_dom_arch(self, cursor, user, tree, context=None):
def _view_look_dom_arch(self, cursor, user, tree, type, context=None):
analytic_account_obj = self.pool.get('analytic_account.account')
analytic_account_obj.convert_view(cursor, user, tree, context=context)
arch, fields = super(PurchaseLine, self)._view_look_dom_arch(cursor,
user, tree, context=context)
user, tree, type, context=context)
return arch, fields
def fields_get(self, cursor, user, fields_names=None, context=None):