[FIX] base_automation: remove unexpected keyword argument

plan_days don't take anymore a day_date params since commit ff32384

opw-775026
This commit is contained in:
Jeremy Kersten
2017-10-09 10:49:56 +02:00
parent 5086bc9a13
commit b6efcc3748
@@ -306,7 +306,7 @@ class BaseAutomation(models.Model):
if action.trg_date_calendar_id and action.trg_date_range_type == 'day':
return action.trg_date_calendar_id.plan_days(
action.trg_date_range,
day_date=fields.Datetime.from_string(record_dt),
fields.Datetime.from_string(record_dt),
compute_leaves=True,
)
else: