def fetch_mun_ine(connection):
    """
    Fetch teh INE code of the municipio

    :param connection:
    :return:
    :rtype: dict
    """
    ids_mun = connection.ResMunicipi.search([])
    data_mun = connection.ResMunicipi.read(ids_mun, ['ine', 'dc'])
    ret_vals = dict.fromkeys(ids_mun)
    for mun in data_mun:
        ret_vals[mun['id']] = '{0}{1}'.format(mun['ine'][-3:], mun['dc'])
    return ret_vals
