Fix new params to _view_look_dom_arch

This commit is contained in:
Cédric Krier committed 2008-06-26 19:03:27 +02:00
1 parent 44d2311b97
commit e7db471ab9
1 file changed
+2 -2
+2 -2
View File
@@ -13,11 +13,11 @@ class InvoiceLine(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(InvoiceLine, 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):