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

Reformat and fix dependencies

parent b6938703
No related branches found
No related tags found
1 merge request!1Reformat and fix dependencies
Pipeline #58363 failed
...@@ -3,11 +3,13 @@ include: ...@@ -3,11 +3,13 @@ include:
file: /ci/general.yml file: /ci/general.yml
- project: "AlekSIS/official/AlekSIS" - project: "AlekSIS/official/AlekSIS"
file: /ci/prepare/lock.yml file: /ci/prepare/lock.yml
# - project: "AlekSIS/official/AlekSIS"
# file: /ci/test.yml
- project: "AlekSIS/official/AlekSIS" - project: "AlekSIS/official/AlekSIS"
file: /ci/test/lint.yml file: /ci/test/lint.yml
- project: "AlekSIS/official/AlekSIS" - project: "AlekSIS/official/AlekSIS"
file: /ci/test/security.yml file: /ci/test/security.yml
- project: "AlekSIS/official/AlekSIS" - project: "AlekSIS/official/AlekSIS"
file: /ci/build/dist.yml 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): ...@@ -10,6 +10,4 @@ class DefaultConfig(AppConfig):
"Repository": "https://edugit.org/AlekSIS/onboarding//AlekSIS-App-Tezor", "Repository": "https://edugit.org/AlekSIS/onboarding//AlekSIS-App-Tezor",
} }
licence = "EUPL-1.2+" licence = "EUPL-1.2+"
copyright_info = ( copyright_info = (([2022], "Dominik George", "dominik.george@teckids.org"),)
([2022], "Dominik George", "dominik.george@teckids.org"),
)
...@@ -10,8 +10,7 @@ MENUS = { ...@@ -10,8 +10,7 @@ MENUS = {
"menu_generator.validators.is_authenticated", "menu_generator.validators.is_authenticated",
"aleksis.core.util.core_helpers.has_person", "aleksis.core.util.core_helpers.has_person",
], ],
"submenu": [ "submenu": [],
],
} }
] ]
} }
...@@ -10,7 +10,9 @@ from .base import Client ...@@ -10,7 +10,9 @@ from .base import Client
class InvoiceGroup(ExtensibleModel): class InvoiceGroup(ExtensibleModel):
name = models.CharField(verbose_name=_("Invoice group name"), max_length=255) 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: class Meta:
constraints = [ constraints = [
...@@ -19,7 +21,9 @@ class InvoiceGroup(ExtensibleModel): ...@@ -19,7 +21,9 @@ class InvoiceGroup(ExtensibleModel):
class Invoice(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")) number = models.CharField(verbose_name=_("Invoice number"))
date = models.DateField(verbose_name=_("Invoice date")) date = models.DateField(verbose_name=_("Invoice date"))
......
...@@ -31,6 +31,7 @@ secondary = true ...@@ -31,6 +31,7 @@ secondary = true
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = "^3.9" python = "^3.9"
aleksis-core = "^2.7" aleksis-core = "^2.7"
django-money = "^2.1.1"
[tool.poetry.dev-dependencies] [tool.poetry.dev-dependencies]
aleksis-builddeps = "*" 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