添加功能
This commit is contained in:
@@ -255,12 +255,20 @@ class InheritHrPayslip(models.Model):
|
||||
for rec in self:
|
||||
if rec.line_ids:
|
||||
for line in rec.line_ids:
|
||||
if line.name == '学习进步奖':
|
||||
rec.study_on = line.total
|
||||
if line.name == '临时绩效奖':
|
||||
rec.temporary_performance_bonus = line.total
|
||||
if line.name == '上年安全生产工作奖':
|
||||
rec.last_year_safety = line.total
|
||||
if line.name == '生育津贴':
|
||||
rec.allowance = line.total
|
||||
if line.name == '儿童节慰问金':
|
||||
rec.condolence_fund = line.total
|
||||
if line.name == '春节福利':
|
||||
rec.spring_festival = line.total
|
||||
if line.name == '上年绩效评优':
|
||||
rec.last_year_performance = line.total
|
||||
if line.name == '上年社保补缴':
|
||||
rec.social_security = line.total
|
||||
if line.name == '上年年度清算':
|
||||
|
||||
Reference in New Issue
Block a user