diff --git a/src/pretix/plugins/checkinlists/exporters.py b/src/pretix/plugins/checkinlists/exporters.py index e04a8b6a59..8c11c964b4 100644 --- a/src/pretix/plugins/checkinlists/exporters.py +++ b/src/pretix/plugins/checkinlists/exporters.py @@ -433,7 +433,6 @@ class CSVCheckinList(CheckInListMixin, ListExporter): headers.append(_('Seat row')) headers.append(_('Seat number')) headers += [ - _('Company'), _('Address'), _('ZIP code'), _('City'), diff --git a/src/tests/plugins/test_checkinlist.py b/src/tests/plugins/test_checkinlist.py index 84c8b8024f..150663dc20 100644 --- a/src/tests/plugins/test_checkinlist.py +++ b/src/tests/plugins/test_checkinlist.py @@ -70,7 +70,7 @@ def test_csv_simple(event): assert clean(content.decode()) == clean(""""Order code","Attendee name","Attendee name: Title","Attendee name: First name","Attendee name: Middle name","Attendee name: Family name","Product","Price","Checked in","Checked out","Automatically checked in","Secret","E-mail","Company","Voucher code","Order date","Requires special attention","Comment","Seat ID","Seat name", -"Seat zone","Seat row","Seat number","Company","Address","ZIP code","City","Country","State" +"Seat zone","Seat row","Seat number","Address","ZIP code","City","Country","State" "FOO","Mr Peter A Jones","Mr","Peter","A","Jones","Ticket","23.00","","","No","hutjztuxhkbtwnesv2suqv26k6ttytxx", "dummy@dummy.test","","","2019-02-22","No","","","","","","","","","","","" "FOO","Mrs Andrea J Zulu","Mrs","Andrea","J","Zulu","Ticket","13.00","","","No","ggsngqtnmhx74jswjngw3fk8pfwz2a7k", @@ -94,7 +94,7 @@ def test_csv_order_by_name_parts(event): # noqa assert clean(content.decode()) == clean(""""Order code","Attendee name","Attendee name: Title", "Attendee name: First name","Attendee name: Middle name","Attendee name: Family name","Product","Price", "Checked in","Checked out","Automatically checked in","Secret","E-mail","Company","Voucher code","Order date","Requires special - attention","Comment","Seat ID","Seat name","Seat zone","Seat row","Seat number","Company","Address","ZIP code","City","Country","State" + attention","Comment","Seat ID","Seat name","Seat zone","Seat row","Seat number","Address","ZIP code","City","Country","State" "FOO","Mrs Andrea J Zulu","Mrs","Andrea","J","Zulu","Ticket","13.00","","","No","ggsngqtnmhx74jswjngw3fk8pfwz2a7k", "dummy@dummy.test","","","2019-02-22","No","","","","","","","","","","","" "FOO","Mr Peter A Jones","Mr","Peter","A","Jones","Ticket","23.00","","","No","hutjztuxhkbtwnesv2suqv26k6ttytxx", @@ -111,7 +111,7 @@ def test_csv_order_by_name_parts(event): # noqa assert clean(content.decode()) == clean(""""Order code","Attendee name","Attendee name: Title", "Attendee name: First name","Attendee name: Middle name","Attendee name: Family name","Product","Price", "Checked in","Checked out","Automatically checked in","Secret","E-mail","Company","Voucher code","Order date","Requires special - attention","Comment","Seat ID","Seat name","Seat zone","Seat row","Seat number","Company","Address","ZIP code","City","Country","State" + attention","Comment","Seat ID","Seat name","Seat zone","Seat row","Seat number","Address","ZIP code","City","Country","State" "FOO","Mr Peter A Jones","Mr","Peter","A","Jones","Ticket","23.00","","","No","hutjztuxhkbtwnesv2suqv26k6ttytxx", "dummy@dummy.test","","","2019-02-22","No","","","","","","","","","","","" "FOO","Mrs Andrea J Zulu","Mrs","Andrea","J","Zulu","Ticket","13.00","","","No","ggsngqtnmhx74jswjngw3fk8pfwz2a7k", @@ -166,7 +166,7 @@ def test_csv_order_by_inherited_name_parts(event): # noqa assert clean(content.decode()) == clean(""""Order code","Attendee name","Attendee name: Title", "Attendee name: First name","Attendee name: Middle name","Attendee name: Family name","Product","Price", "Checked in","Checked out","Automatically checked in","Secret","E-mail","Company","Voucher code","Order date","Requires special - attention","Comment","Seat ID","Seat name","Seat zone","Seat row","Seat number","Company","Address","ZIP code","City","Country","State" + attention","Comment","Seat ID","Seat name","Seat zone","Seat row","Seat number","Address","ZIP code","City","Country","State" "BAR","Mr Albert J Zulu","Mr","Albert","J","Zulu","Ticket","23.00","","","No","hutjztuxhkbtwnesv2suqv26k6ttytyy", "dummy@dummy.test","BARCORP","","2019-02-22","No","","","","","","","","","","","" "FOO","Mr Paul A Jones","Mr","Paul","A","Jones","Ticket","23.00","","","No","hutjztuxhkbtwnesv2suqv26k6ttytxx", @@ -183,7 +183,7 @@ def test_csv_order_by_inherited_name_parts(event): # noqa assert clean(content.decode()) == clean(""""Order code","Attendee name","Attendee name: Title", "Attendee name: First name","Attendee name: Middle name","Attendee name: Family name","Product","Price", "Checked in","Checked out","Automatically checked in","Secret","E-mail","Company","Voucher code","Order date","Requires special - attention","Comment","Seat ID","Seat name","Seat zone","Seat row","Seat number","Company","Address","ZIP code","City","Country","State" + attention","Comment","Seat ID","Seat name","Seat zone","Seat row","Seat number","Address","ZIP code","City","Country","State" "BAR","Mr Albert J Zulu","Mr","Albert","J","Zulu","Ticket","23.00","","","No","hutjztuxhkbtwnesv2suqv26k6ttytyy", "dummy@dummy.test","BARCORP","","2019-02-22","No","","","","","","","","","","","" "FOO","Mr Paul A Jones","Mr","Paul","A","Jones","Ticket","23.00","","","No","hutjztuxhkbtwnesv2suqv26k6ttytxx", @@ -200,7 +200,7 @@ def test_csv_order_by_inherited_name_parts(event): # noqa assert clean(content.decode()) == clean(""""Order code","Attendee name","Attendee name: Title", "Attendee name: First name","Attendee name: Middle name","Attendee name: Family name","Product","Price", "Checked in","Checked out","Automatically checked in","Secret","E-mail","Company","Voucher code","Order date","Requires special - attention","Comment","Seat ID","Seat name","Seat zone","Seat row","Seat number","Company","Address","ZIP code","City","Country","State" + attention","Comment","Seat ID","Seat name","Seat zone","Seat row","Seat number","Address","ZIP code","City","Country","State" "FOO","Mr Paul A Jones","Mr","Paul","A","Jones","Ticket","23.00","","","No","hutjztuxhkbtwnesv2suqv26k6ttytxx", "dummy@dummy.test","FOOCORP","","2019-02-22","No","","","","","","","","","","","" "BAR","Mr Albert J Zulu","Mr","Albert","J","Zulu","Ticket","23.00","","","No","hutjztuxhkbtwnesv2suqv26k6ttytyy",