1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-11-30 04:13:01 +00:00

Merge branch 'fix_form' into 'master'

[note] no transaction_type

See merge request bde/nk20!21
This commit is contained in:
Benjamin Graillot 2020-02-24 18:38:06 +01:00
commit f25bfc8706

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: