From ebda457684793c5bb592bf9aeb5bb5ebce903ae0 Mon Sep 17 00:00:00 2001 From: yuxianghui <1608204036@qq.com> Date: Mon, 17 Jul 2023 16:45:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BA=A7=E7=BA=BF=E8=AE=BE?= =?UTF-8?q?=E5=A4=87=E8=B5=84=E6=BA=90=E8=AE=BE=E7=BD=AE=E6=96=B0=E5=BB=BA?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sf_plan_management/models/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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