Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
Djangoldp Invoice
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Startin blox
djangoldp-packages
Djangoldp Invoice
Commits
a43478d6
Commit
a43478d6
authored
Mar 27, 2019
by
Matthieu Fesselier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix: fix import module
parent
c1d6c5be
Pipeline
#2890
passed with stage
in 27 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
djangoldp_invoice/models.py
djangoldp_invoice/models.py
+2
-2
No files found.
djangoldp_invoice/models.py
View file @
a43478d6
...
...
@@ -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'
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment