添加功能
This commit is contained in:
@@ -968,6 +968,7 @@ class YuthonHrEmployee(models.Model):
|
||||
f"{years}年" if years > 0 else f"{months}个月")
|
||||
record.social_insurance_time = social_insurance_time_str
|
||||
record.compute_char = social_insurance_time_str
|
||||
record._compute_cumulative_work_years()
|
||||
|
||||
@api.depends('cumulative_work_month')
|
||||
def _compute_cumulative_work_years(self):
|
||||
|
||||
Reference in New Issue
Block a user