Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
3229 Visualizzazioni

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

Avatar
Abbandona
Risposta migliore

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]


Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
mag 24
1068
2
apr 24
2741
2
lug 23
2645
0
giu 23
2744
1
dic 21
2732