'Schedule hours backwards. Used in mrp_operations/mrp_operations.py.
:deprecated: Odoo saas-3. Use schedule_hours instead. Note: since
saas-3, counts leave hours instead of all-day leaves.'

@api.multi
def interval_min_get(self, dt_from, hours, resource=False):

    return self.schedule_hours((hours * (-1.0)), day_dt=dt_from.replace(minute=0, second=0, microsecond=0), compute_leaves=True, resource_id=resource, default_interval=(8, 16))
