Traceback (most recent call last):
File "/mnt/d/Desktop/Odoo/V11/server/odoo/http.py", line 650, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/mnt/d/Desktop/Odoo/V11/server/odoo/http.py", line 310, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/mnt/d/Desktop/Odoo/V11/server/odoo/tools/pycompat.py", line 87, in reraise
raise value
File "/mnt/d/Desktop/Odoo/V11/server/odoo/http.py", line 692, in dispatch
result = self._call_function(self.params)
File "/mnt/d/Desktop/Odoo/V11/server/odoo/http.py", line 342, in _call_function
return checked_call(self.db, *args, *kwargs)
File "/mnt/d/Desktop/Odoo/V11/server/odoo/service/model.py", line 97, in wrapper
return f(dbname, args, kwargs)
File "/mnt/d/Desktop/Odoo/V11/server/odoo/http.py", line 335, in checked_call
result = self.endpoint(*a, kw)
File "/mnt/d/Desktop/Odoo/V11/server/odoo/http.py", line 936, in call
return self.method(*args, *kw)
File "/mnt/d/Desktop/Odoo/V11/server/odoo/http.py", line 515, in response_wrap
response = f(args, kw)
File "/mnt/d/Desktop/Odoo/V11/server/addons/web/controllers/main.py", line 935, in call_button
action = self._call_kw(model, method, args, {})
File "/mnt/d/Desktop/Odoo/V11/server/addons/web/controllers/main.py", line 923, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/mnt/d/Desktop/Odoo/V11/server/odoo/api.py", line 689, in call_kw
return call_kw_multi(method, model, args, kwargs)
File "/mnt/d/Desktop/Odoo/V11/server/odoo/api.py", line 680, in call_kw_multi
result = method(recs, *args, **kwargs)
File "/mnt/d/Desktop/Odoo/V11/addons/oh_hr_zk_attendance/models/zk_machine.py", line 162, in download_attendance
att_obj = self.env['hr.attendance']
NameError: name 'zklib' is not defined
Traceback (most recent call last): File "/mnt/d/Desktop/Odoo/V11/server/odoo/http.py", line 650, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/mnt/d/Desktop/Odoo/V11/server/odoo/http.py", line 310, in _handle_exception raise pycompat.reraise(type(exception), exception, sys.exc_info()[2]) File "/mnt/d/Desktop/Odoo/V11/server/odoo/tools/pycompat.py", line 87, in reraise raise value File "/mnt/d/Desktop/Odoo/V11/server/odoo/http.py", line 692, in dispatch result = self._call_function(self.params) File "/mnt/d/Desktop/Odoo/V11/server/odoo/http.py", line 342, in _call_function return checked_call(self.db, *args, *kwargs) File "/mnt/d/Desktop/Odoo/V11/server/odoo/service/model.py", line 97, in wrapper return f(dbname, args, kwargs) File "/mnt/d/Desktop/Odoo/V11/server/odoo/http.py", line 335, in checked_call result = self.endpoint(*a, kw) File "/mnt/d/Desktop/Odoo/V11/server/odoo/http.py", line 936, in call return self.method(*args, *kw) File "/mnt/d/Desktop/Odoo/V11/server/odoo/http.py", line 515, in response_wrap response = f(args, kw) File "/mnt/d/Desktop/Odoo/V11/server/addons/web/controllers/main.py", line 935, in call_button action = self._call_kw(model, method, args, {}) File "/mnt/d/Desktop/Odoo/V11/server/addons/web/controllers/main.py", line 923, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "/mnt/d/Desktop/Odoo/V11/server/odoo/api.py", line 689, in call_kw return call_kw_multi(method, model, args, kwargs) File "/mnt/d/Desktop/Odoo/V11/server/odoo/api.py", line 680, in call_kw_multi result = method(recs, *args, **kwargs) File "/mnt/d/Desktop/Odoo/V11/addons/oh_hr_zk_attendance/models/zk_machine.py", line 162, in download_attendance att_obj = self.env['hr.attendance'] NameError: name 'zklib' is not defined