1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-11-27 02:43:01 +00:00

[note] no transaction_type

This commit is contained in:
Benjamin Graillot 2020-02-24 18:33:51 +01:00
parent 9039c6fba6
commit 640e48b5df

View File

@ -31,8 +31,6 @@ class TransactionTemplateForm(forms.ModelForm):
class TransactionForm(forms.ModelForm): class TransactionForm(forms.ModelForm):
def save(self, commit=True): def save(self, commit=True):
self.instance.transaction_type = 'transfert'
super().save(commit) super().save(commit)
class Meta: class Meta: