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
23f168ba
Commit
23f168ba
authored
May 09, 2019
by
Sylvain Le Bon
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'jbpasquier/rdf' into 'master'
fix: add rdf_type See merge request
!2
parents
1aec0ea2
3f6b013a
Pipeline
#3471
passed with stage
in 28 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
djangoldp_invoice/models.py
djangoldp_invoice/models.py
+2
-0
No files found.
djangoldp_invoice/models.py
View file @
23f168ba
...
...
@@ -39,6 +39,7 @@ class FreelanceInvoice(Model):
(
'view_freelance_invoice'
,
'Read'
),
(
'control_freelance_invoice'
,
'Control'
),
)
rdf_type
=
'hd:freelanceinvoice'
def
__str__
(
self
):
return
'{} ({} / {})'
.
format
(
self
.
freelanceFullname
,
self
.
identifier
,
self
.
title
)
...
...
@@ -83,6 +84,7 @@ class CustomerInvoice(Model):
(
'view_invoice'
,
'Read'
),
(
'control_invoice'
,
'Control'
),
)
rdf_type
=
'hd:customerinvoice'
def
__str__
(
self
):
return
'{} - {} ({})'
.
format
(
self
.
identifier
,
self
.
title
,
self
.
htAmount
())
...
...
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