[REM] project,hr_timesheet: removed dead _get_total_hours function

It should have been removed by 9b69184ffa.
This commit is contained in:
David Monjoie
2016-06-30 14:41:20 +02:00
parent e7e277480c
commit b41bbb2b87
2 changed files with 0 additions and 6 deletions
-3
View File
@@ -15,9 +15,6 @@ class Project(models.Model):
class Task(models.Model):
_inherit = "project.task"
def _get_total_hours(self):
return super(Task, self)._get_total_hours() + self.effective_hours
@api.multi
def _get_subtask_count(self):
for task in self:
-3
View File
@@ -604,9 +604,6 @@ class task(osv.osv):
self._store_history(cr, uid, ids, context=context)
return result
def _get_total_hours(self):
return self.remaining_hours
# ---------------------------------------------------
# Mail gateway
# ---------------------------------------------------