[MIG] sale_planner: to Odoo 13.0

This commit is contained in:
Jared Kipe
2020-10-31 12:50:08 -07:00
parent 681868f8e1
commit 807be9da36
9 changed files with 46 additions and 45 deletions

View File

@@ -7,7 +7,6 @@ from odoo.addons.resource.models.resource import make_aware
class ResourceCalendar(models.Model):
_inherit = 'resource.calendar'
@api.multi
def plan_days_end(self, days, day_dt, compute_leaves=False, domain=None):
"""
Override to `plan_days` that allows you to get the nearest 'end' including today.