From 0598b36f08ccb4ff0d718e5739d9fe4d60e93087 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=B9=8F=E5=AE=87?= <9664676+pengyuthon@user.noreply.gitee.com> Date: Sun, 12 Oct 2025 14:25:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yuthon_contract/models/inherit_hr_contract.py | 1 + 1 file changed, 1 insertion(+) diff --git a/yuthon_contract/models/inherit_hr_contract.py b/yuthon_contract/models/inherit_hr_contract.py index 30a93cbfa..f5bed2258 100644 --- a/yuthon_contract/models/inherit_hr_contract.py +++ b/yuthon_contract/models/inherit_hr_contract.py @@ -145,6 +145,7 @@ class HrContract(models.Model): "context": { "default_employee_id": self.employee_id.id, "default_current_status": self.date_end, + "default_department1_id": self.employee_id.department_id.id, "default_contract_id": self.id, }, }