live cap fix
This commit is contained in:
parent
7b91e82363
commit
af98a28428
|
|
@ -747,6 +747,7 @@ class ZKBioAttendance(Thread):
|
|||
registry = Registry(self.env.cr.dbname)
|
||||
with registry.cursor() as new_cr:
|
||||
new_env = api.Environment(new_cr, self.env.uid, self.env.context)
|
||||
new_cr.commit()
|
||||
if self.conn.get_attendance():
|
||||
self.record.with_env(new_env).action_download_attendance()
|
||||
new_cr.commit()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue