Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
3208 Lượt xem

When try to upgrade "to_attendance_device" module from 13.0 to 14.0


2022-05-15 15:48:42,340 1 WARNING 14DB1 odoo.http: Could not get connected to the device '[sfax] /'. Please check your network configuration and device password and/or hard restart your device.
2022-05-15T15:48:42.340689261Z Debugging info:
2022-05-15T15:48:42.340694570Z 'attendance.device' object attribute 'zk' is read-only

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hello

In case you didn't solve the issue yet, I find the solution

you have to replace :

self.zk = self.zk_cache[cached_key]

by
AttendanceDevice.zk = self.zk_cache[cached_key]


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 5 24
1062
2
thg 4 24
2734
2
thg 7 23
2628
0
thg 6 23
2736
1
thg 12 21
2718