I would like to ask about the auto checkout in attendance odoo, because employees often forget to check out. Thus, I would like to mark their checkout automatically.
How is the code and where I can insert this code?
Thank you!
Remove the ":" at the end of the line.
records = self.search([('check_out', '=', False), ('check_in', '!=', False)])