WorkTrace: Geocode Location Logs (batch) code pending = env['wt.location.log'].search([('latitude', '!=', 0), ('address', '=', False)], limit=1) if pending: env['wt.location.log'].action_geocode_all_pending() else: env.ref('work_trace.ir_cron_geocode_location_logs').active = False 2 minutes True 10