Skip to content
Snippets Groups Projects
Commit f25bfc87 authored by Benjamin Graillot's avatar Benjamin Graillot
Browse files

Merge branch 'fix_form' into 'master'

[note] no transaction_type

See merge request !21
parents 9039c6fb 640e48b5
No related branches found
No related tags found
1 merge request!21[note] no transaction_type
Pipeline #7795 passed with warnings with stages
in 3 minutes and 48 seconds
...@@ -31,8 +31,6 @@ class TransactionTemplateForm(forms.ModelForm): ...@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment