Hi all,
I have code for auto checkout in Odoo server:
SyntaxError : invalid syntax at line 9
Please help!
Thank you!
I have code for auto checkout in Odoo server:
model.cron_set_attedance_checkout() class hr_attendace(models.Model): _inherit = 'hr.attendance' @api.model def cron_set_attedance_checkout(self): records = self.search([('check_out', '=', False), ('check_in', '!=', False)]): for record in records: record.check_out = record.check_inI received an error:
SyntaxError : invalid syntax at line 9
records = self.search([('check_out', '=', False), ('check_in', '!=', False)]):

Please help!
Thank you!