From 640e48b5df588756bcfcb3b11a946c5a8fe50eac Mon Sep 17 00:00:00 2001 From: Benjamin Graillot Date: Mon, 24 Feb 2020 18:33:51 +0100 Subject: [PATCH] [note] no transaction_type --- apps/note/forms.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/note/forms.py b/apps/note/forms.py index 2f49d88f..15cccf2e 100644 --- a/apps/note/forms.py +++ b/apps/note/forms.py @@ -31,8 +31,6 @@ class TransactionTemplateForm(forms.ModelForm): class TransactionForm(forms.ModelForm): def save(self, commit=True): - self.instance.transaction_type = 'transfert' - super().save(commit) class Meta: