Commit a43478d6 authored by Matthieu Fesselier's avatar Matthieu Fesselier

bugfix: fix import module

parent c1d6c5be
Pipeline #2890 passed with stage
in 27 seconds
......@@ -73,7 +73,7 @@ class CustomerInvoice(Model):
class Meta:
depth = 2
container_path = "customer-invoices/"
nested_fields = ["batches", "project", "customer"],
nested_fields = ["batches", "project", "customer"]
serializer_fields = ["@id", "identifier", "title", "state", "htAmount", "tvaRate", "invoicingDate",
"tvaAmount", "ttcAmount", "batches", "project", "customer"]
permissions = (
......@@ -93,7 +93,7 @@ class Batch(Model):
modificationDate = models.DateField(auto_now=True)
class Meta:
nested_fields=["tasks"],
nested_fields = ["tasks"]
serializer_fields = ['@id', 'invoice', 'title', 'htAmount', 'tasks']
permissions = (
('view_batch', 'Read'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment