From 2c20726c006c0a92689d5103a31ffa8175c3cfd1 Mon Sep 17 00:00:00 2001 From: zhou <123@> Date: Mon, 21 Apr 2025 17:21:05 +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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/yuthon_contract/models/inherit_hr_contract.py b/yuthon_contract/models/inherit_hr_contract.py index 698dd86b8..94a080668 100644 --- a/yuthon_contract/models/inherit_hr_contract.py +++ b/yuthon_contract/models/inherit_hr_contract.py @@ -41,6 +41,8 @@ class HrContract(models.Model): if record.contract_type_id: if record.contract_type_id.name == '实习协议': record.is_internship = True + else: + record.is_internship = False def action_hr_contract(self): return {