Fix wrong domain on timesheet.line work
issue2774 review514002 (transplanted from c5fa12b43c498571cce76c65f19642e37613425a)
This commit is contained in:
1 parent
49bfb79143
commit
631e2d1bd3
1 file changed
+1
-1
@@ -18,7 +18,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')
|
||||
|
||||
|
||||
Reference in new issue
Block a user