Removed dead code
This commit is contained in:
1 parent
c298568037
commit
227ad688be
1 file changed
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user