From d30cd6f8c94ff06a14a5570b2443ad39e942e2f3 Mon Sep 17 00:00:00 2001 From: Bertrand Chenal Date: Wed, 3 Jun 2009 16:37:12 +0200 Subject: [PATCH] Don't raise exception when searching with child_of as it is supported --- work.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/work.py b/work.py index 24dc4e15fb..8aaee67cb1 100644 --- a/work.py +++ b/work.py @@ -155,9 +155,6 @@ class Work(ModelSQL, ModelView): project_work_domain = [] timesheet_work_domain = [] for field, operator, operand in domain: - - if operator in ('child_of', 'not child_of'): - raise Exception('Domain not implemented') if field.startswith('parent.'): project_work_domain.append( (field.replace('parent.', ''), operator, operand))