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:
commit
f25bfc8706
@ -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
Block a user