diff --git a/src/pretix/base/migrations/0027_auto_20160815_1254.py b/src/pretix/base/migrations/0027_auto_20160815_1254.py new file mode 100644 index 0000000000..b9c882caac --- /dev/null +++ b/src/pretix/base/migrations/0027_auto_20160815_1254.py @@ -0,0 +1,29 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.9.8 on 2016-08-15 12:54 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('pretixbase', '0026_order_comment'), + ] + + operations = [ + migrations.RemoveField( + model_name='invoiceaddress', + name='phone', + ), + migrations.AlterField( + model_name='invoiceaddress', + name='name', + field=models.CharField(blank=True, max_length=255, verbose_name='Full name'), + ), + migrations.AlterField( + model_name='item', + name='hide_without_voucher', + field=models.BooleanField(default=False, help_text='This product will be hidden from the event page until the user enters a voucher code that is specifically tied to this product (and not via a quota).', verbose_name='This product will only be shown if a voucher matching the product is redeemed.'), + ), + ] diff --git a/src/pretix/base/models/orders.py b/src/pretix/base/models/orders.py index 9fbf83df8c..fede160551 100644 --- a/src/pretix/base/models/orders.py +++ b/src/pretix/base/models/orders.py @@ -541,5 +541,4 @@ class InvoiceAddress(models.Model): zipcode = models.CharField(max_length=30, verbose_name=_('ZIP code'), blank=False) city = models.CharField(max_length=255, verbose_name=_('City'), blank=False) country = models.CharField(max_length=255, verbose_name=_('Country'), blank=False) - phone = models.CharField(max_length=255, blank=True, verbose_name=_('Phone number')) vat_id = models.CharField(max_length=255, blank=True, verbose_name=_('VAT ID')) diff --git a/src/pretix/control/templates/pretixcontrol/order/index.html b/src/pretix/control/templates/pretixcontrol/order/index.html index 1e20a2eed4..0621054ab7 100644 --- a/src/pretix/control/templates/pretixcontrol/order/index.html +++ b/src/pretix/control/templates/pretixcontrol/order/index.html @@ -268,8 +268,6 @@