diff options
Diffstat (limited to 'app/modules/invoices')
-rw-r--r-- | app/modules/invoices/forms.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/modules/invoices/forms.py b/app/modules/invoices/forms.py index 8ef7bd0..74df40e 100644 --- a/app/modules/invoices/forms.py +++ b/app/modules/invoices/forms.py @@ -26,7 +26,7 @@ class AddInvoice(FlaskForm): amount_tax = FloatField("Amount of tax", default=0) submit = SubmitField("Add new Invoice") - def __init__(self, **kwargs): + def __init__(self): super().__init__() self.customer_id.choices = [ (cus.primary_key, cus.name) for cus in Customer.query.all() |