From 038f43e4f646ce0a1300731552a580507b198b88 Mon Sep 17 00:00:00 2001 From: zhouzhou <123@qq.com> Date: Fri, 29 Nov 2024 14:21:22 +0800 Subject: [PATCH 1/2] =?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_hr_employee/models/yuthon_hr_employee.py | 1 - 1 file changed, 1 deletion(-) diff --git a/yuthon_hr_employee/models/yuthon_hr_employee.py b/yuthon_hr_employee/models/yuthon_hr_employee.py index d67f8f5c1..12f8aaee6 100644 --- a/yuthon_hr_employee/models/yuthon_hr_employee.py +++ b/yuthon_hr_employee/models/yuthon_hr_employee.py @@ -2,7 +2,6 @@ from dateutil.relativedelta import relativedelta from pypinyin import pinyin,lazy_pinyin - from odoo import api, fields, models from datetime import date, datetime from odoo.exceptions import UserError, ValidationError From 4012cd20d1748cb90653abc00ed0e96f66e15667 Mon Sep 17 00:00:00 2001 From: zhouzhou <123@qq.com> Date: Fri, 29 Nov 2024 14:21:44 +0800 Subject: [PATCH 2/2] =?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_performance/models/yuthon_employee_performance.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/yuthon_performance/models/yuthon_employee_performance.py b/yuthon_performance/models/yuthon_employee_performance.py index 748f9d860..70f223ba8 100644 --- a/yuthon_performance/models/yuthon_employee_performance.py +++ b/yuthon_performance/models/yuthon_employee_performance.py @@ -1,8 +1,6 @@ from odoo import models, fields, api, exceptions, _ from odoo.exceptions import ValidationError, UserError -from odoo.odoo.tools.populate import compute - class YuthonEmployeePerformance(models.Model): _name = 'yuthon.employee.performance'