1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-05-18 08:22:47 +00:00

Compare commits

..

No commits in common. "40c239e9dabd3df2e6c586ed77d6c0e06903e3ba" and "ffac9405110cf63a03bc5b9ee738bffaf3f6c239" have entirely different histories.

2 changed files with 1 additions and 5 deletions

View File

@ -63,7 +63,7 @@ class Invoice(models.Model):
address = models.TextField(
verbose_name=_("Address"),
)
date = models.DateField(
default=date.today,
verbose_name=_("Date"),

View File

@ -69,11 +69,9 @@ class TestInvoices(TestCase):
response = self.client.post(reverse("treasury:invoice_create"), data={
"id": 42,
"object": "Same object",
"quotation": True,
"description": "Longer description",
"name": "Me and others",
"address": "Alwways earth",
"payment_date": "Maybe someday...",
"acquitted": True,
"products-0-designation": "Designation",
"products-0-quantity": 1,
@ -99,10 +97,8 @@ class TestInvoices(TestCase):
"object": "Same object",
"description": "Longer description",
"name": "Me and others",
"quotation": False,
"address": "Always earth",
"acquitted": True,
"payment_date": "Never",
"locked": True,
"products-0-designation": "Designation",
"products-0-quantity": 1,