Skip to content
Snippets Groups Projects
Commit 2ce3a8e1 authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Merge branch 'reformat-fix' into 'master'

Reformat and fix dependencies

See merge request !1
parents b6938703 1f411671
No related branches found
No related tags found
1 merge request!1Reformat and fix dependencies
Pipeline #58365 failed
......@@ -3,11 +3,13 @@ include:
file: /ci/general.yml
- project: "AlekSIS/official/AlekSIS"
file: /ci/prepare/lock.yml
# - project: "AlekSIS/official/AlekSIS"
# file: /ci/test.yml
- project: "AlekSIS/official/AlekSIS"
file: /ci/test/lint.yml
- project: "AlekSIS/official/AlekSIS"
file: /ci/test/security.yml
- project: "AlekSIS/official/AlekSIS"
file: /ci/build/dist.yml
- project: "AlekSIS/official/AlekSIS"
file: /ci/publish/pypi.yml
- project: "AlekSIS/official/AlekSIS"
file: /ci/docker/image.yml
......@@ -10,6 +10,4 @@ class DefaultConfig(AppConfig):
"Repository": "https://edugit.org/AlekSIS/onboarding//AlekSIS-App-Tezor",
}
licence = "EUPL-1.2+"
copyright_info = (
([2022], "Dominik George", "dominik.george@teckids.org"),
)
copyright_info = (([2022], "Dominik George", "dominik.george@teckids.org"),)
......@@ -10,8 +10,7 @@ MENUS = {
"menu_generator.validators.is_authenticated",
"aleksis.core.util.core_helpers.has_person",
],
"submenu": [
],
"submenu": [],
}
]
}
......@@ -10,7 +10,9 @@ from .base import Client
class InvoiceGroup(ExtensibleModel):
name = models.CharField(verbose_name=_("Invoice group name"), max_length=255)
client = models.ForeignKey(Client, verbose_name=_("Linked client"), related_name="invoice_groups")
client = models.ForeignKey(
Client, verbose_name=_("Linked client"), related_name="invoice_groups"
)
class Meta:
constraints = [
......@@ -19,7 +21,9 @@ class InvoiceGroup(ExtensibleModel):
class Invoice(ExtensibleModel):
group = models.ForeignKey(InvoiceGroup, verbose_name=_("Invoice group"), related_name="invoices")
group = models.ForeignKey(
InvoiceGroup, verbose_name=_("Invoice group"), related_name="invoices"
)
number = models.CharField(verbose_name=_("Invoice number"))
date = models.DateField(verbose_name=_("Invoice date"))
......
......@@ -31,6 +31,7 @@ secondary = true
[tool.poetry.dependencies]
python = "^3.9"
aleksis-core = "^2.7"
django-money = "^2.1.1"
[tool.poetry.dev-dependencies]
aleksis-builddeps = "*"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment