forked from DGNum/gestioCOF
Correctifs
- Fix: décommente du code nécessaire et nom plus identifiable - Fix: erreur de types dans les modèles OperationGroup et Operation
This commit is contained in:
parent
6be65df654
commit
ffc845aefa
3 changed files with 35 additions and 11 deletions
|
@ -139,10 +139,9 @@ class KPsulOperationForm(forms.ModelForm):
|
|||
class Meta:
|
||||
model = Operation
|
||||
fields = ['type', 'amount', 'is_checkout', 'article', 'article_nb']
|
||||
"""
|
||||
OperationFormSet = modelformset_factory(
|
||||
|
||||
KPsulOperationFormSet = modelformset_factory(
|
||||
Operation,
|
||||
form = KPsulOperationForm,
|
||||
extra = 0,
|
||||
min_num = 1, validate_min = True)
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue