diff --git a/yuthon_salary/models/inherit_hr_payslip.py b/yuthon_salary/models/inherit_hr_payslip.py index df480cbfd..93830a9c8 100644 --- a/yuthon_salary/models/inherit_hr_payslip.py +++ b/yuthon_salary/models/inherit_hr_payslip.py @@ -97,6 +97,18 @@ class InheritHrPayslip(models.Model): amount_tax_withheld = fields.Float(string='累计应扣缴税额') remake = fields.Text(string='备注') + # 物管常用项 + seniority_allowance = fields.Float(string='工龄补贴') + monthly_base_salary = fields.Float(string='月基本工资') + safety_subsidy = fields.Float(string='安全生产管理补贴') + job_performance = fields.Float(string='岗位绩效') + excellent_employees = fields.Float(string='优秀部门经理/员工奖励') + duty = fields.Float(string='值班(含节日加班)') + annuity = fields.Float(string='年金') + + # 粮储常用项 + quality_allowance = fields.Float(string='质检员津贴') + environmental_allowance = fields.Float(string='环境作业津贴') performance_deduction = fields.Float(string='扣发绩效奖金', compute='_compute_deduction', store=True) commuting_deduction = fields.Float(string='扣发通信补贴', compute='_compute_deduction', store=True) diff --git a/yuthon_salary/views/inherit_hr_payslip_views.xml b/yuthon_salary/views/inherit_hr_payslip_views.xml index c187033d0..f643336c7 100644 --- a/yuthon_salary/views/inherit_hr_payslip_views.xml +++ b/yuthon_salary/views/inherit_hr_payslip_views.xml @@ -44,16 +44,26 @@ - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + @@ -275,21 +285,21 @@ - + - - - + + + - - + + - + @@ -305,7 +315,7 @@ - +