feature/odoo18 #2

Merged
administrator merged 43 commits from feature/odoo18 into develop 2025-05-22 16:16:43 +05:30
1 changed files with 2 additions and 1 deletions
Showing only changes of commit b48aaceb15 - Show all commits

View File

@ -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()