Remove phone numers from invoices (#189)

This commit is contained in:
Tobias Kunze
2016-08-15 15:06:26 +02:00
committed by Raphael Michel
parent f2baf79a52
commit 19e45ac294
6 changed files with 30 additions and 8 deletions

View File

@@ -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.'),
),
]

View File

@@ -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'))