@@ -26,8 +26,8 @@ class InheritHrPayslip(models.Model):
|
||||
housing_rent = fields.Float(string='累计住房租金')
|
||||
child_education = fields.Float(string='累计子女教育')
|
||||
tax = fields.Float(string="税金")
|
||||
cpf = fields.Float(string="公积金")
|
||||
|
||||
retroactive_allowance = fields.Float(string="补发津贴")
|
||||
condolence_fund = fields.Float(string="儿童节慰问金")
|
||||
continuing_education = fields.Float(string='累计继续教育')
|
||||
elderly_support = fields.Float(string='累计赡养老人')
|
||||
infant_care = fields.Float(string='累计3岁以下婴幼儿照护')
|
||||
@@ -63,11 +63,12 @@ class InheritHrPayslip(models.Model):
|
||||
temporary_performance_bonus = fields.Float(string='临时绩效奖')
|
||||
attendance_deduction_total = fields.Float(string='考勤扣款合计')
|
||||
assessment_reserved_amount = fields.Float(string='考核保留量')
|
||||
reimburse_performance_bonus = fields.Float(string='上个月多扣绩效补回')
|
||||
last_year_safety = fields.Float(string='上年安全生产工作奖')
|
||||
last_year_performance_evaluation = fields.Float(string='上年绩效评优')
|
||||
social_security = fields.Float(string='2024年社保补缴')
|
||||
performance_up = fields.Float(string='上月多扣绩效补回')
|
||||
individual_tax_refund = fields.Float(string='2024年个税退回')
|
||||
liquidation_year = fields.Float(string='上年年度清算')
|
||||
safety_incentives = fields.Float(string='安全生产奖')
|
||||
is_push = fields.Boolean(string='推送')
|
||||
is_salary_push = fields.Boolean(string='工资推送')
|
||||
@@ -81,7 +82,7 @@ class InheritHrPayslip(models.Model):
|
||||
tax_reduction = fields.Float(string='减免税额')
|
||||
deduction_standard = fields.Float(string='减除费用标准')
|
||||
paid_tax = fields.Float(string='已缴税额')
|
||||
based_pay = fields.Float(string='临时绩效工资')
|
||||
based_pay = fields.Float(string='临时绩效奖金')
|
||||
life_salary = fields.Float(string='生活补贴')
|
||||
january_performance = fields.Float(string='1月份绩效奖金补发')
|
||||
accumulated_underpayment = fields.Float(string='累计欠收')
|
||||
@@ -264,7 +265,7 @@ class InheritHrPayslip(models.Model):
|
||||
@api.depends('total_before_tax', 'basic_endowment_insurance', 'basic_medical_insurance',
|
||||
'unemployment_insurance', 'housing_provident_fund', 'b_year', 'tax_payable',
|
||||
'union_dues', 'meal_misunderstanding_fee', 'temporary_performance_bonus',
|
||||
'reimburse_performance_bonus', 'life_salary')
|
||||
'performance_up', 'life_salary')
|
||||
def _compute_actual_salary(self):
|
||||
for record in self:
|
||||
record.actual_salary = (record.total_before_tax -
|
||||
@@ -277,7 +278,7 @@ class InheritHrPayslip(models.Model):
|
||||
record.union_dues -
|
||||
record.meal_misunderstanding_fee -
|
||||
record.temporary_performance_bonus -
|
||||
record.reimburse_performance_bonus -
|
||||
record.performance_up -
|
||||
record.life_salary)
|
||||
|
||||
def put_button(self):
|
||||
|
||||
@@ -39,43 +39,50 @@
|
||||
<field name="actual_salary" decoration-danger="1"/>
|
||||
<field name="base_salary" required="1"/>
|
||||
<field name="rank_salary" required="1"/>
|
||||
<field name="post_salary" required="1"/>
|
||||
<field name="performance_bonuses" required="1"/>
|
||||
<field name="commuting_allowance" required="1"/>
|
||||
<field name="seniority_salary" required="1"/>
|
||||
<field name="full_attendance_award"/>
|
||||
<field name="overtime_pay"/>
|
||||
<field name="high_temperature_allowance"/>
|
||||
<field name="temporary_performance_bonus"/>
|
||||
<field name="post_salary" required="1" decoration-success="1"/>
|
||||
<field name="seniority_salary" required="1" decoration-success="1"/>
|
||||
<field name="union_dues" decoration-success="1"/>
|
||||
<field name="high_temperature_allowance" decoration-success="1"/>
|
||||
<field name="commuting_allowance" required="1" decoration-success="1"/>
|
||||
<field name="full_attendance_award" decoration-success="1"/>
|
||||
<field name="overtime_pay" decoration-success="1"/>
|
||||
<field name="meal_misunderstanding_fee" decoration-success="1"/>
|
||||
<field name="condolence_fund" decoration-success="1"/>
|
||||
<field name="retroactive_allowance" decoration-success="1" />
|
||||
<field name="base_salary_deduction" decoration-success="1" decoration-bf="1"/>
|
||||
<field name="basic_endowment_insurance" decoration-info="1"/>
|
||||
<field name="basic_medical_insurance" decoration-info="1"/>
|
||||
<field name="unemployment_insurance" decoration-info="1"/>
|
||||
<field name="housing_provident_fund" decoration-info="1"/>
|
||||
<field name="union_dues" decoration-info="1"/>
|
||||
<field name="b_year" decoration-info="1"/>
|
||||
<field name="work_injury_insurance" decoration-info="1"/>
|
||||
<field name="specialized_deduction" decoration-warning="1"/>
|
||||
<field name="infant_care" decoration-warning="1"/>
|
||||
<field name="child_education" decoration-warning="1"/>
|
||||
<field name="elderly_support" decoration-warning="1"/>
|
||||
<field name="housing_loan_interest" decoration-warning="1"/>
|
||||
<field name="housing_rent" decoration-warning="1"/>
|
||||
<field name="continuing_education" decoration-warning="1"/>
|
||||
<field name="individual_tax_refund" decoration-danger="1"/>
|
||||
<field name="temporary_performance_bonus" decoration-danger="1"/>
|
||||
<field name="social_security" decoration-danger="1"/>
|
||||
<field name="liquidation_year" decoration-danger="1"/>
|
||||
<field name="year_compute" decoration-danger="1"/>
|
||||
<field name="year_jie" decoration-danger="1"/>
|
||||
<field name="performance_up" decoration-danger="1"/>
|
||||
<field name="jing_te" decoration-danger="1"/>
|
||||
<field name="year_gong" decoration-danger="1"/>
|
||||
<field name="study_on" decoration-danger="1"/>
|
||||
<field name="base_salary_deduction" decoration-success="1"/>
|
||||
<field name="commuting_deduction" decoration-success="1"/>
|
||||
<field name="performance_deduction" decoration-success="1"/>
|
||||
<field name="commuting_deduction" decoration-danger="1" decoration-bf="1"/>
|
||||
<field name="performance_deduction" decoration-danger="1" decoration-bf="1"/>
|
||||
<field name="total_before_tax" decoration-danger="1" decoration-bf="1"/>
|
||||
<field name="basic_endowment_insurance"/>
|
||||
<field name="basic_medical_insurance"/>
|
||||
<field name="unemployment_insurance"/>
|
||||
<field name="b_year"/>
|
||||
<field name="union_dues"/>
|
||||
<field name="tax_payable" decoration-danger="1" decoration-bf="1"/>
|
||||
<field name="deduction_standard"/>
|
||||
<field name="specialized_deduction"/>
|
||||
<field name="child_education"/>
|
||||
<field name="elderly_support"/>
|
||||
<field name="housing_loan_interest"/>
|
||||
<field name="housing_rent"/>
|
||||
<field name="continuing_education"/>
|
||||
<field name="infant_care"/>
|
||||
<field name="social_security"/>
|
||||
<field name="individual_tax_refund"/>
|
||||
<field name="safety_incentives"/>
|
||||
<field name="last_year_safety"/>
|
||||
<field name="last_year_performance_evaluation"/>
|
||||
<field name="meal_misunderstanding_fee"/>
|
||||
<field name="deduction_standard" decoration-danger="1"/>
|
||||
<field name="safety_incentives" decoration-danger="1"/>
|
||||
<field name="last_year_safety" decoration-danger="1"/>
|
||||
<field name="last_year_performance_evaluation" decoration-danger="1"/>
|
||||
<field name="salary_state"/>
|
||||
<field name="is_salary_release" column_invisible="1"/>
|
||||
<field name="is_salary_push" column_invisible="1"/>
|
||||
@@ -114,6 +121,7 @@
|
||||
<field name="jing_te" decoration-danger="1"/>
|
||||
<field name="year_gong" decoration-danger="1"/>
|
||||
<field name="study_on" decoration-danger="1"/>
|
||||
<field name="life_salary" decoration-danger="1"/>
|
||||
<field name="base_salary_deduction" decoration-success="1"/>
|
||||
<field name="commuting_deduction" decoration-success="1"/>
|
||||
<field name="performance_deduction" decoration-success="1"/>
|
||||
|
||||
Reference in New Issue
Block a user