From 69dac908d3c5d403d6eea42063c45bdf95c818bb Mon Sep 17 00:00:00 2001
From: zhou <123@>
Date: Sat, 31 May 2025 16:42:08 +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/inherit_hr_payslip.py | 12 +++++
.../views/inherit_hr_payslip_views.xml | 46 +++++++++++--------
2 files changed, 40 insertions(+), 18 deletions(-)
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 @@
-
+