1
This commit is contained in:
@@ -127,6 +127,11 @@ class InheritHrPayslip(models.Model):
|
||||
# 粮储临时项
|
||||
medical_fee = fields.Float(string='超出体检费标准')
|
||||
|
||||
# 三家公司
|
||||
add_year_float = fields.Float(string='补年金差额')
|
||||
minus_year_float = fields.Float(string='扣年金差额')
|
||||
|
||||
|
||||
performance_deduction = fields.Float(string='扣发绩效奖金', compute='_compute_deduction', store=True)
|
||||
commuting_deduction = fields.Float(string='扣发通信补贴', compute='_compute_deduction', store=True)
|
||||
base_salary_deduction = fields.Float(string='扣发基本工资', compute='_compute_deduction', store=True)
|
||||
@@ -320,10 +325,16 @@ class InheritHrPayslip(models.Model):
|
||||
record.duty +
|
||||
record.monthly_overtime +
|
||||
record.annuity +
|
||||
|
||||
record.add_year_float +
|
||||
|
||||
# 新增的物管临时项
|
||||
record.excellent_employees +
|
||||
record.leave_absence -
|
||||
# 扣除项
|
||||
|
||||
record.minus_year_float -
|
||||
|
||||
record.performance_deduction -
|
||||
record.commuting_deduction -
|
||||
record.base_salary_deduction -
|
||||
|
||||
@@ -286,6 +286,10 @@
|
||||
<field name="year_compute" decoration-danger="1" optional="show" groups="yuthon_salary.group_jtbb_user"/>
|
||||
<field name="year_jie" decoration-danger="1" optional="show" groups="yuthon_salary.group_jtbb_user"/>
|
||||
<field name="leave_absence" decoration-danger="1" optional="show" groups="yuthon_salary.group_wg_user"/>
|
||||
|
||||
<field name="add_year_float" decoration-danger="1" optional="show"/>
|
||||
<field name="minus_year_float" decoration-danger="1" optional="show"/>
|
||||
|
||||
<field name="performance_up" decoration-danger="1" optional="show" groups="yuthon_salary.group_jtbb_user"/>
|
||||
<field name="jing_te" decoration-danger="1" optional="show" groups="yuthon_salary.group_jtbb_user"/>
|
||||
<field name="year_gong" decoration-danger="1" optional="show" groups="yuthon_salary.group_jtbb_user"/>
|
||||
|
||||
Reference in New Issue
Block a user