From 55725647d4775155418da09a5ec56190c116df40 Mon Sep 17 00:00:00 2001 From: zhou <123@> Date: Fri, 1 Aug 2025 12:12:25 +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 --- yuthon_hr_attendance/models/wifi_message.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yuthon_hr_attendance/models/wifi_message.py b/yuthon_hr_attendance/models/wifi_message.py index 19bf9b67e..a509e1abf 100644 --- a/yuthon_hr_attendance/models/wifi_message.py +++ b/yuthon_hr_attendance/models/wifi_message.py @@ -8,7 +8,7 @@ class WifiMessage(models.Model): _name = 'wifi.message' _description = 'wifi名称管理' - mac_ids = fields.Many2one('mac.line', 'wifi_id', string='MAC地址') + mac_ids = fields.Many2many('mac.line', 'wifi_id', string='MAC地址') name = fields.Char(string='名称') bssid = fields.Char(string='BSSID') company_id = fields.Many2one("res.company", string="公司", default=lambda self: self.env.company)