def METHOD_NAME(self, commit=True):
    instance = super(JournalItemForm, self).METHOD_NAME(commit=False)
    if self.cleaned_data['debit']:
        instance.amount = self.cleaned_data['debit']
    else:
        instance.amount = -self.cleaned_data['credit']
    if commit:
        instance.METHOD_NAME()
    return instance