误餐导入调整

This commit is contained in:
pengyuthon
2026-02-11 19:30:26 +08:00
parent 965781e1a9
commit 7a40c78550
+1 -1
View File
@@ -43,7 +43,7 @@ class SalaryMealWizard(models.TransientModel):
self.salary_meal_data(row)
def salary_meal_data(self, row):
select_year = str(row[0].value).replace("年", "").strip()
select_year = str(row[0].value).replace("年", "").strip()[0:4]
select_time = str(row[1].value).replace("月", "").strip()
employee_id = self.env['hr.employee'].search([('identification_id', '=', row[3].value)], limit=1)
card = row[3].value