Don't raise exception when searching with child_of as it is supported

This commit is contained in:
Bertrand Chenal committed 2009-06-03 16:37:12 +02:00
1 parent d7476722ab
commit d30cd6f8c9
1 file changed
-3
-3
View File
@@ -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))