From 227ad688be42eea1e85f0752e56fcfb8af58e95c Mon Sep 17 00:00:00 2001 From: Bertrand Chenal Date: Thu, 11 Jun 2009 11:03:13 +0200 Subject: [PATCH] Removed dead code --- work.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/work.py b/work.py index c6b75a49de..f66694c023 100644 --- a/work.py +++ b/work.py @@ -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