Commit 3c95991e authored by Matthieu Fesselier's avatar Matthieu Fesselier

feature: add "mention libre" field

parent a43478d6
# -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2019-03-27 06:53
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('djangoldp_invoice', '0004_auto_20190117_0215'),
]
operations = [
migrations.AlterModelOptions(
name='task',
options={'default_permissions': ('add', 'change', 'delete', 'view', 'control')},
),
]
# -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2019-03-28 02:35
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('djangoldp_invoice', '0005_auto_20190327_0653'),
]
operations = [
migrations.AddField(
model_name='customerinvoice',
name='additionalText',
field=models.CharField(blank=True, max_length=255, null=True),
),
]
......@@ -58,6 +58,7 @@ class CustomerInvoice(Model):
creationDate = models.DateField(auto_now_add=True)
modificationDate = models.DateField(auto_now=True)
invoicingDate = models.DateField(default=datetime.date.today)
additionalText = models.CharField(max_length=255, blank=True, null=True)
def htAmount(self):
if self.batches is None:
......
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