From 87367761e85402542467d5c95aaaefae7595565d Mon Sep 17 00:00:00 2001 From: Robin Baumgartner Date: Tue, 11 Sep 2012 10:11:11 +0200 Subject: [PATCH] Fix wrong domain on timesheet.line work issue2774 review514002 (transplanted from c5fa12b43c498571cce76c65f19642e37613425a) --- line.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/line.py b/line.py index b3107dc91a..d8dcd1a67a 100644 --- a/line.py +++ b/line.py @@ -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')