From eac5bb765c8d609d3b7eb31316228f8058581796 Mon Sep 17 00:00:00 2001 From: Marius Peter Date: Mon, 16 May 2022 21:11:52 +0200 Subject: Lil fixes. --- app/modules/invoices/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/modules/invoices/forms.py') 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() -- cgit v1.2.3