From 8cdc0040a6ff051c9fce86fdae6d97b68a554d65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=B9=8F=E5=AE=87?= <9664676+pengyuthon@user.noreply.gitee.com> Date: Sun, 12 Oct 2025 11:00:43 +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 --- attendance_iot/models/attendance_iot_manager.py | 1 + .../views/attendance_iot_manager_views.xml | 1 + .../models/yuthon_vacation_reports.py | 11 ++++++----- yuthon_hr_employee/models/yuthon_hr_employee.py | 2 +- .../models/yuthon_onboard_approval.py | 8 ++++++++ .../views/property_lease_contract.xml | 14 ++++++++++++++ 6 files changed, 31 insertions(+), 6 deletions(-) diff --git a/attendance_iot/models/attendance_iot_manager.py b/attendance_iot/models/attendance_iot_manager.py index 74a16866c..4bd9342df 100644 --- a/attendance_iot/models/attendance_iot_manager.py +++ b/attendance_iot/models/attendance_iot_manager.py @@ -15,6 +15,7 @@ class AttendanceIotManager(models.Model): attendance_iot_id = fields.Many2one('attendance.iot', string="设备号") attendance_address = fields.Char(string="设备地址") data_selection = fields.Selection([('mqtt', 'mqtt'), ('api', 'api')], default="mqtt", string="数据类型") + remarks = fields.Text(string='备注') def action_attendance_iot_manager(self): return { diff --git a/attendance_iot/views/attendance_iot_manager_views.xml b/attendance_iot/views/attendance_iot_manager_views.xml index 63bd93fc5..46b34496f 100644 --- a/attendance_iot/views/attendance_iot_manager_views.xml +++ b/attendance_iot/views/attendance_iot_manager_views.xml @@ -8,6 +8,7 @@ +