From cd0b92d27efcce5124f0ecf2dd355e05085be9d6 Mon Sep 17 00:00:00 2001 From: zhou <123@> Date: Thu, 20 Mar 2025 11:56:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yuthon_salary/models/yuthon_payroll_project.py | 4 ++++ yuthon_salary/views/yuthon_payroll_project_views.xml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/yuthon_salary/models/yuthon_payroll_project.py b/yuthon_salary/models/yuthon_payroll_project.py index 6a79a2553..80f15d2b6 100644 --- a/yuthon_salary/models/yuthon_payroll_project.py +++ b/yuthon_salary/models/yuthon_payroll_project.py @@ -87,6 +87,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 @@ + + + +