forked from DGNum/gestioCOF
Création compte avec balance initiale
- Utile pour la migration des anciens comptes vers le nouveau système - Fix JS page historique
This commit is contained in:
parent
a78ad8c4ef
commit
f538f27843
7 changed files with 207 additions and 1 deletions
|
@ -54,6 +54,11 @@ class AccountForm(forms.ModelForm):
|
|||
'trigramme': forms.TextInput(attrs={'autocomplete': 'off'}),
|
||||
}
|
||||
|
||||
class AccountBalanceForm(forms.ModelForm):
|
||||
class Meta:
|
||||
model = Account
|
||||
fields = ['balance']
|
||||
|
||||
class AccountTriForm(AccountForm):
|
||||
|
||||
def clean_trigramme(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue