Fix for new view_header_get must return string

This commit is contained in:
Cédric Krier committed 2009-02-02 13:13:36 +01:00
1 parent 051f31ae39
commit dc845717a9
1 file changed
+1 -1
+1 -1
View File
@@ -59,7 +59,7 @@ class Line(OSV):
def view_header_get(self, cursor, user, value, view_type='form',
context=None):
if not context.get('employee'):
return False
return value
employee_obj = self.pool.get('company.employee')
employee = employee_obj.browse(cursor, user, context['employee'],
context=context)