fix
This commit is contained in:
parent
deb5a6f74b
commit
0da086450d
|
|
@ -9,6 +9,7 @@ from .helper import httpHelper, is_valid_port, is_valid_ip, ParsedRequest
|
|||
|
||||
class SystemAttendance(models.Model):
|
||||
_name = 'finger.system_attendance'
|
||||
_order = 'punch_time DESC'
|
||||
|
||||
punch_state = fields.Char("Punch state", readonly=True)
|
||||
area_alias = fields.Char("Area", readonly=True)
|
||||
|
|
@ -581,4 +582,4 @@ class BiotimeAPI(models.Model):
|
|||
url = "{}?start_time={}&end_time={}&emp_code={}".format(transctionsUrl,yesterday,now, xm.code )
|
||||
# url = "{}?punch_time={}&punch_time={}&emp_code={}".format(transctionsUrl, yesterday, now, xm.code)
|
||||
# print('################################# New Employee',url)
|
||||
r.sync_employee_attenence(url)
|
||||
r.sync_employee_attenence(url)
|
||||
|
|
|
|||
Loading…
Reference in New Issue