Commit 90f25779 authored by Patrick Kimber's avatar Patrick Kimber

init - migrations after 0021

parent 1df21f08
Pipeline #92271563 failed with stage
in 51 seconds
# Generated by Django 2.2.3 on 2019-08-01 10:23
# Generated by Django 2.2.6 on 2019-10-29 12:35
from decimal import Decimal
from django.conf import settings
......@@ -9,8 +9,8 @@ import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
("finance", "0009_auto_20190731_1525"),
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
("finance", "0009_auto_20190731_1525"),
("invoice", "0021_auto_20190322_1235"),
]
......@@ -27,7 +27,6 @@ class Migration(migrations.Migration):
verbose_name="ID",
),
),
("issue_date", models.DateField()),
("confirmed", models.BooleanField(default=False)),
("comment", models.TextField(blank=True, null=True)),
(
......@@ -43,7 +42,7 @@ class Migration(migrations.Migration):
options={
"verbose_name": "Invoice Issue",
"verbose_name_plural": "Invoice Issues",
"ordering": ("-issue_date", "-invoice__pk"),
"ordering": ("-invoice__invoice_date", "-invoice__pk"),
},
),
migrations.AlterModelOptions(
......@@ -59,6 +58,14 @@ class Migration(migrations.Migration):
"verbose_name_plural": "Invoice Batches",
},
),
migrations.AlterModelOptions(
name="paymentprocessor",
options={
"ordering": ("description",),
"verbose_name": "Payment Processor",
},
),
migrations.RemoveField(model_name="paymentprocessor", name="slug"),
migrations.AddField(
model_name="batch",
name="exchange_rate",
......@@ -88,7 +95,7 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name="invoicecontact",
name="vat_number",
field=models.CharField(blank=True, max_length=15),
field=models.CharField(blank=True, max_length=50),
),
migrations.AddField(
model_name="invoiceline",
......@@ -97,6 +104,11 @@ class Migration(migrations.Migration):
blank=True, decimal_places=2, max_digits=8, null=True
),
),
migrations.AlterField(
model_name="paymentprocessor",
name="description",
field=models.CharField(max_length=100, unique=True),
),
migrations.AlterUniqueTogether(
name="batch",
unique_together={
......@@ -130,7 +142,7 @@ class Migration(migrations.Migration):
"verbose_name": "Invoice Issue Line",
"verbose_name_plural": "Invoice Issue Lines",
"ordering": (
"-invoice_issue__issue_date",
"-invoice_issue__invoice__invoice_date",
"-invoice_issue__invoice__pk",
"-pk",
),
......@@ -139,12 +151,9 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name="invoiceissue",
name="invoice",
field=models.ForeignKey(
field=models.OneToOneField(
on_delete=django.db.models.deletion.CASCADE,
to="invoice.Invoice",
),
),
migrations.AlterUniqueTogether(
name="invoiceissue", unique_together={("invoice", "issue_date")}
),
]
# Generated by Django 2.2.4 on 2019-09-10 10:37
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [("invoice", "0022_auto_20190801_1123")]
operations = [
migrations.AlterField(
model_name="invoicecontact",
name="vat_number",
field=models.CharField(blank=True, max_length=50),
)
]
# Generated by Django 2.2.4 on 2019-09-12 17:42
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [("invoice", "0023_auto_20190910_1137")]
operations = [
migrations.AlterModelOptions(
name="invoiceissue",
options={
"ordering": ("-invoice__invoice_date", "-invoice__pk"),
"verbose_name": "Invoice Issue",
"verbose_name_plural": "Invoice Issues",
},
),
migrations.AlterModelOptions(
name="invoiceissueline",
options={
"ordering": (
"-invoice_issue__invoice__invoice_date",
"-invoice_issue__invoice__pk",
"-pk",
),
"verbose_name": "Invoice Issue Line",
"verbose_name_plural": "Invoice Issue Lines",
},
),
migrations.AlterModelOptions(
name="paymentprocessor",
options={
"ordering": ("description",),
"verbose_name": "Payment Processor",
},
),
migrations.RemoveField(model_name="paymentprocessor", name="slug"),
migrations.AlterField(
model_name="invoiceissue",
name="invoice",
field=models.OneToOneField(
on_delete=django.db.models.deletion.CASCADE,
to="invoice.Invoice",
),
),
migrations.AlterField(
model_name="paymentprocessor",
name="description",
field=models.CharField(max_length=100, unique=True),
),
migrations.AlterUniqueTogether(
name="invoiceissue", unique_together=set()
),
migrations.RemoveField(model_name="invoiceissue", name="issue_date"),
]
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