Commit 3f6b013a authored by Jean-Baptiste Pasquier's avatar Jean-Baptiste Pasquier

fix: add rdf_type

parent 1aec0ea2
Pipeline #3459 passed with stage
in 28 seconds
......@@ -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())
......
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