From 12cb56ecc644df3a1cb3779f89d2a94dca00e544 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 9 Mar 2017 16:05:20 +0100 Subject: [PATCH] Remove unused TimesheetWork in copy --- work.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/work.py b/work.py index cdb95a0708..522df2c0d9 100644 --- a/work.py +++ b/work.py @@ -419,8 +419,6 @@ class Work(sequence_ordered(), ModelSQL, ModelView): @classmethod def copy(cls, project_works, default=None): - TimesheetWork = Pool().get('timesheet.work') - if default is None: default = {}