From 631e2d1bd39ba3494dc7f79dca47b604ca93823e 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 614b1f4bcc..cb103d1859 100644 --- a/line.py +++ b/line.py @@ -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')