From 98da0d6d7da1b6d2b105d0dc112d1bdb34c4aac6 Mon Sep 17 00:00:00 2001
From: zhou <123@>
Date: Mon, 4 Aug 2025 19:08:53 +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
---
.../views/property_lease_contract.xml | 8 ++++----
yuthon_salary/models/inherit_hr_payroll_structure.py | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/yuthon_property_approval/views/property_lease_contract.xml b/yuthon_property_approval/views/property_lease_contract.xml
index 5baf53a73..563d8f321 100644
--- a/yuthon_property_approval/views/property_lease_contract.xml
+++ b/yuthon_property_approval/views/property_lease_contract.xml
@@ -28,7 +28,7 @@
string="生成租金费用" invisible="1"/>
-
+
-
+
@@ -362,7 +362,7 @@
-
+
@@ -461,7 +461,7 @@
-
+
diff --git a/yuthon_salary/models/inherit_hr_payroll_structure.py b/yuthon_salary/models/inherit_hr_payroll_structure.py
index d3e90bfe0..b773838c9 100644
--- a/yuthon_salary/models/inherit_hr_payroll_structure.py
+++ b/yuthon_salary/models/inherit_hr_payroll_structure.py
@@ -64,7 +64,7 @@ class HrPayrollStructure(models.Model):
'category_id': category_id.id,
'code': code,
'amount_fix': amount,
- 'struct_id': self.id.origin
+ 'struct_id': self.id
})
else:
salary_id.write({