[REM] project,hr_timesheet: removed dead _get_total_hours function
It should have been removed by 9b69184ffa.
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
# ---------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user