Commit 181d1066 authored by Patrick Kimber's avatar Patrick Kimber

Increase length of VAT number to 50 characters

https://www.kbsoftware.co.uk/crm/ticket/4518/
parent 45aaf3ea
# 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),
)
]
......@@ -233,7 +233,8 @@ class InvoiceContact(TimeStampedModel):
)
# Maximum of 12 characters?
# https://www.gov.uk/guidance/vat-eu-country-codes-vat-numbers-and-vat-in-other-languages
vat_number = models.CharField(max_length=15, blank=True)
# 10/09/2019 The Xero 'TaxNumber' has a maximum length of 50 characters.
vat_number = models.CharField(max_length=50, blank=True)
objects = InvoiceContactManager()
class Meta:
......
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