Fix new view_header_get

This commit is contained in:
Cédric Krier committed 2008-05-20 17:37:52 +02:00
1 parent ac5f47733b
commit 98fdf125d1
1 file changed
+1 -1
+1 -1
View File
@@ -1011,7 +1011,7 @@ class Line(OSV):
return super(Line, self).copy(cursor, user, object_id, default=default,
context=context)
def view_header_get(self, cursor, user, view_id=None, view_type='form',
def view_header_get(self, cursor, user, value, view_type='form',
context=None):
if context is None:
context = {}