'Form processor'

def save(self):

    try:
        ModuleSetting.set_for_module('default_ticket_status', self.cleaned_data['default_ticket_status'].id, 'treeio.services')
        ModuleSetting.set_for_module('default_ticket_queue', self.cleaned_data['default_ticket_queue'].id, 'treeio.services')
        ModuleSetting.set_for_module('send_email_to_caller', self.cleaned_data['send_email_to_caller'], 'treeio.services')
        ModuleSetting.set_for_module('send_email_template', self.cleaned_data['send_email_template'], 'treeio.services')
        return True
    except Exception:
        return False
