From b6efcc3748bd7e78a1dee45359159f65c6a4c764 Mon Sep 17 00:00:00 2001 From: Jeremy Kersten Date: Mon, 9 Oct 2017 10:49:55 +0200 Subject: [PATCH] [FIX] base_automation: remove unexpected keyword argument plan_days don't take anymore a day_date params since commit ff32384 opw-775026 --- addons/base_automation/models/base_automation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/base_automation/models/base_automation.py b/addons/base_automation/models/base_automation.py index af8363b92fa..d28c093b0b1 100644 --- a/addons/base_automation/models/base_automation.py +++ b/addons/base_automation/models/base_automation.py @@ -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: