Removed dead code

This commit is contained in:
Bertrand Chenal committed 2009-06-11 11:03:13 +02:00
1 parent c298568037
commit 227ad688be
1 file changed
-2
-2
View File
@@ -52,8 +52,6 @@ class Work(ModelSQL, ModelView):
def get_cost(self, cursor, user, ids, name, arg, context=None):
timesheet_line_obj = self.pool.get('timesheet.line')
ctx = context and context.copy() or {}
all_ids = self.search(cursor, user, [
('parent', 'child_of', ids),
('active', '=', True)], context=context) + ids