diff --git a/yuthon_salary/models/yuthon_payroll_project.py b/yuthon_salary/models/yuthon_payroll_project.py index 8ea2ac07b..69c798600 100644 --- a/yuthon_salary/models/yuthon_payroll_project.py +++ b/yuthon_salary/models/yuthon_payroll_project.py @@ -89,6 +89,10 @@ class YuthonPayrollInsurances (models.Model): name = fields.Char(string='工资项名称') is_base = fields.Boolean(string='独立基数') + basic_medical_insurance = fields.Float(string='基本医疗保险费', store=True) + basic_endowment_insurance = fields.Float(string='基本养老保险费', store=True) + unemployment_insurance = fields.Float(string='失业保险费', store=True) + housing_provident_fund = fields.Float(string='住房公积金', store=True) proportion_company = fields.Float(string='公司缴纳比例') proportion_employee = fields.Float(string='个人缴纳比例') proportion_company_ceiling = fields.Float(string='公司缴纳比例上限') diff --git a/yuthon_salary/views/yuthon_payroll_project_views.xml b/yuthon_salary/views/yuthon_payroll_project_views.xml index db28b5599..bbe25456d 100644 --- a/yuthon_salary/views/yuthon_payroll_project_views.xml +++ b/yuthon_salary/views/yuthon_payroll_project_views.xml @@ -56,6 +56,10 @@ + + + +