From 8fdb015b2694b0c26680148d4c60124651c1b571 Mon Sep 17 00:00:00 2001 From: zhouzhou <123@qq.com> Date: Fri, 29 Nov 2024 16:23:23 +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/wizard/yuthon_salary_wizard.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yuthon_salary/wizard/yuthon_salary_wizard.py b/yuthon_salary/wizard/yuthon_salary_wizard.py index eb66973d4..1364c538d 100644 --- a/yuthon_salary/wizard/yuthon_salary_wizard.py +++ b/yuthon_salary/wizard/yuthon_salary_wizard.py @@ -69,7 +69,7 @@ class YuthonSalaryWizard(models.Model): if not structure_id: structure_id = self.env['hr.payroll.structure'].create({ 'name': text, - 'lv_id':struct_id.id, + 'type_id':struct_id.id, 'sequence': row[0].value, 'yuthon_company': yuthon_company,}) yuthon_company = yuthon_company_dict.get(row[10].value) @@ -105,7 +105,7 @@ class YuthonSalaryWizard(models.Model): if not structure_id: structure_id = self.env['hr.payroll.structure'].create({ 'name': text, - 'lv_id':struct_id.id, + 'type_id':struct_id.id, 'sequence': row[0].value, 'yuthon_company': yuthon_company,}) yuthon_company = yuthon_company_dict.get(row[11].value) @@ -141,7 +141,7 @@ class YuthonSalaryWizard(models.Model): if not structure_id: structure_id = self.env['hr.payroll.structure'].create({ 'name': text, - 'lv_id': struct_id.id, + 'type_id': struct_id.id, 'sequence': row[0].value, 'yuthon_company': yuthon_company, }) yuthon_company = yuthon_company_dict.get(row[16].value)