Commit 53b02e87 authored by Claire Zuliani's avatar Claire Zuliani

fix: models utf8 encoding

parent cb4df015
# -*- coding: utf-8 -*-
from django.conf import settings
from django.db import models
import datetime
......@@ -54,6 +55,10 @@ class ClientInvoice(models.Model):
modificationDate = models.DateField(auto_now=True)
invoicingDate = models.DateField(default =
def tvaAmount(self):
return self.tvaRate * self.htAmount
class Meta:
permissions = (
('view_invoice', '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