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)