添加功能
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user