Fix wrong domain on timesheet.line work

issue2774
review514002
(transplanted from c5fa12b43c498571cce76c65f19642e37613425a)
This commit is contained in:
Robin Baumgartner committed 2012-09-11 10:11:11 +02:00
1 parent 6190ced9d8
commit 87367761e8
1 file changed
+1 -1
+1 -1
View File
@@ -19,7 +19,7 @@ class Line(ModelSQL, ModelView):
hours = fields.Float('Hours', digits=(16, 2), required=True)
work = fields.Many2One('timesheet.work', 'Work',
required=True, select=1, domain=[
('timesheet_available', '=', 'True'),
('timesheet_available', '=', True),
])
description = fields.Char('Description')