(self, request, data)
return self.get_model_filter(
            mobile_user_and_group_slugs, request.can_access_all_locations, accessible_location_ids
        )
This implementaion applies to forms and cases, which implement get_model_filter,
        but must be overridden for SMS exports.
This implementaion applies to forms and cases, which implement get_model_filter,
        but must be overridden for SMS exports.
This implementaion applies to forms and cases which implement get_model_filter but must be overridden for SMS exports .
def get_export_filters(self, request, data):
        '''
        This implementaion applies to forms and cases, which implement get_model_filter,
        but must be overridden for SMS exports.
        '''
        mobile_user_and_group_slugs = self.get_mobile_user_and_group_slugs(data)
        accessible_location_ids = None
        if not request.can_access_all_locations:
            accessible_location_ids = SQLLocation.active_objects.accessible_location_ids(
                self.domain_object.name, request.couch_user
            )
        return self.get_model_filter(
            mobile_user_and_group_slugs, request.can_access_all_locations, accessible_location_ids
        )
def get_export_filters ( self , request , data ) : mobile_user_and_group_slugs = self . get_mobile_user_and_group_slugs ( data ) accessible_location_ids = None if not request . can_access_all_locations : accessible_location_ids = SQLLocation . active_objects . accessible_location_ids ( self . domain_object . name , request . couch_user ) return self . get_model_filter ( mobile_user_and_group_slugs , request . can_access_all_locations , accessible_location_ids )