@@ -0,0 +1,976 @@
+# -*- coding: utf-8 -*-%0A%0A# Akvo Reporting is covered by the GNU Affero General Public License.%0A# See more details in the license.txt file located at the root folder of the Akvo RSR module.%0A# For additional details on the GNU license please see %3C http://www.gnu.org/licenses/agpl.html %3E.%0A%0A%0Afrom django.core.management.base import BaseCommand%0A%0Afrom akvo.rsr.models import Partnership, Indicator%0Afrom akvo.rsr.models.result.utils import QUALITATIVE%0A%0A%0Aclass Command(BaseCommand):%0A    help = u'Script to prevent all IUCN qualitative indicators from being exported'%0A%0A    def handle(self, *args, **options):%0A        project_ids = Partnership.objects.filter(%0A            iati_organisation_role=Partnership.IATI_REPORTING_ORGANISATION,%0A            organisation_id=3257%0A        ).values_list('project_id', flat=True)%0A        qualitative_indicators = Indicator.objects.filter(result__project__in=project_ids, type=QUALITATIVE)%0A        qualitative_indicators.update(export_to_iati=False)%0A

Add script to set IUCN qualitative indicators private.