def METHOD_NAME(self, commit=True):
    investment = super().METHOD_NAME(commit)
    for category in self.categories:
        field_name = category.name.lower().replace(' ', '_')
        value = self.cleaned_data[field_name].value
        ic, _ = InvestmentCategory.objects.get_or_create(
            investment=investment,
            name=category.name
        )
        ic.value = value
        ic.METHOD_NAME()
    return investment