mirror of https://gitlab.crans.org/bde/nk20
[note] no transaction_type
This commit is contained in:
parent
9039c6fba6
commit
640e48b5df
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue