summaryrefslogtreecommitdiff
path: root/app/modules/invoices
diff options
context:
space:
mode:
authorMarius Peter <marius.peter@tutanota.com>2022-05-16 21:11:52 +0200
committerMarius Peter <marius.peter@tutanota.com>2022-05-16 21:11:52 +0200
commiteac5bb765c8d609d3b7eb31316228f8058581796 (patch)
tree71858ed6cef43bb5dea24de1222b3c828d93b821 /app/modules/invoices
parent196c3bbf8a140f962845c51e22f409aa6b4d7473 (diff)
Lil fixes.
Diffstat (limited to 'app/modules/invoices')
-rw-r--r--app/modules/invoices/forms.py2
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()
Copyright 2019--2024 Marius PETER