diff --git a/RIGS/finance.py b/RIGS/finance.py index a6be584c..e0f7ec7a 100644 --- a/RIGS/finance.py +++ b/RIGS/finance.py @@ -115,6 +115,7 @@ class InvoiceEvent(generic.View): class PaymentCreate(generic.CreateView): model = models.Payment + fields = ['invoice','date','amount','method'] def get_initial(self): initial = super(generic.CreateView, self).get_initial()