Commit 1aec0ea2 authored by Matthieu Fesselier's avatar Matthieu Fesselier

feature: add upload url

parent 8cb45852
Pipeline #3028 passed with stage
in 27 seconds
# -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2019-04-10 04:25
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('djangoldp_invoice', '0006_customerinvoice_additionaltext'),
]
operations = [
migrations.AddField(
model_name='freelanceinvoice',
name='uploadUrl',
field=models.URLField(blank=True, null=True),
),
]
......@@ -28,7 +28,7 @@ class FreelanceInvoice(Model):
state = models.CharField(max_length=255, choices=STATES, default='pending')
htAmount = models.DecimalField(max_digits=11, decimal_places=2)
tvaRate = models.DecimalField(choices=TVA_RATES, max_digits=4, decimal_places=2, default=20.0)
uploadUrl = models.URLField
uploadUrl = models.URLField(blank=True, null=True)
creationDate = models.DateField(auto_now_add=True)
modificationDate = models.DateField(auto_now=True)
invoicingDate = models.DateField(default=datetime.date.today)
......
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