[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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user