mirror of
https://gitlab.crans.org/bde/nk20
synced 2025-05-17 16:02:47 +00:00
Compare commits
3 Commits
ffac940511
...
40c239e9da
Author | SHA1 | Date | |
---|---|---|---|
|
40c239e9da | ||
|
2aaab2b454 | ||
|
fc088dec86 |
@ -63,7 +63,7 @@ class Invoice(models.Model):
|
||||
address = models.TextField(
|
||||
verbose_name=_("Address"),
|
||||
)
|
||||
|
||||
|
||||
date = models.DateField(
|
||||
default=date.today,
|
||||
verbose_name=_("Date"),
|
||||
|
@ -69,9 +69,11 @@ 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,
|
||||
@ -97,8 +99,10 @@ 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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user