diff --git a/addons/hr_work_entry/models/hr_work_entry.py b/addons/hr_work_entry/models/hr_work_entry.py index 7665bb6aa26..eb0c348056e 100644 --- a/addons/hr_work_entry/models/hr_work_entry.py +++ b/addons/hr_work_entry/models/hr_work_entry.py @@ -108,10 +108,6 @@ class HrWorkEntry(models.Model): result[work_entry.id] = duration return result - # YTI TODO: Remove me in master: Deprecated, use _get_duration_batch instead - def _get_duration(self, date_start, date_stop): - return self._get_duration_batch()[self.id] - def action_validate(self): """ Try to validate work entries.