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({