diff --git a/sf_plan_management/models/base.py b/sf_plan_management/models/base.py index 831b735c..9a9c5fe3 100644 --- a/sf_plan_management/models/base.py +++ b/sf_plan_management/models/base.py @@ -49,7 +49,7 @@ class ProcedureEquipmentResourceSetting(models.Model): @api.depends('working_calendar_id') def _onchange_working_calendar_id(self): for record in self: - record.working_shift_ids = record.working_calendar_id.working_shift_ids + record.working_shift_id = record.working_calendar_id.working_shift_ids