diff --git a/attendance_iot/controllers/kaoqin_test.py b/attendance_iot/controllers/kaoqin_test.py
index c00f4c766..84bd69a52 100644
--- a/attendance_iot/controllers/kaoqin_test.py
+++ b/attendance_iot/controllers/kaoqin_test.py
@@ -3,6 +3,8 @@ from venv import create
from odoo.http import Controller, request, route
from datetime import datetime
from odoo import models, fields, api, http, SUPERUSER_ID, _
+import logging
+_logger = logging.getLogger(__name__)
class BusController(Controller):
@@ -30,7 +32,8 @@ class BusController(Controller):
'attendance_iot_id': attendance_iot_id.id
})]
})
- print("---------------------------------------------测试成功---------------------------------------")
+ _logger.info("-------------------------%s创建成功-------------------------------" % (employee_id.name))
+ _logger.info("-------------------------%s创建成功-------------------------------" % (employee_id.name))
return {"Result": 0, "Msg": "添加成功"}
@route('/api/v1/record/face', methods=['POST'], type='json', auth='none', csrf=False)
diff --git a/yuthon_salary/views/inherit_hr_payslip_views.xml b/yuthon_salary/views/inherit_hr_payslip_views.xml
index f8f2c7d89..787d2fa36 100644
--- a/yuthon_salary/views/inherit_hr_payslip_views.xml
+++ b/yuthon_salary/views/inherit_hr_payslip_views.xml
@@ -230,6 +230,8 @@
+
+
@@ -302,8 +304,6 @@
-
-