From 3a06c949b67bca644c279da3091ecd96c715a516 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Mon, 22 Jan 2018 17:11:50 +0100 Subject: [PATCH] Bugfix --- teleforma/views/crfpa.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/teleforma/views/crfpa.py b/teleforma/views/crfpa.py index 4c4a1bfe..9bd7bcfd 100644 --- a/teleforma/views/crfpa.py +++ b/teleforma/views/crfpa.py @@ -242,8 +242,8 @@ class UserXLSBook(object): student = Student.objects.get(user=user) if profile: profile = Profile.objects.get(user=user) - row.write(10, profile.address_detail) row.write(11, profile.address) + row.write(10, profile.address_detail) row.write(12, profile.postal_code) row.write(13, profile.city) row.write(14, profile.telephone) @@ -292,6 +292,7 @@ class UserXLSBook(object): {'name':'ORAL 2', 'width':3000}, {'name':'MAIL', 'width':7500}, {'name':'ADRESSE', 'width':7500}, + {'name':'ADRESSE DETAIL', 'width':7500}, {'name':'CP', 'width':2500}, {'name':'VILLE', 'width':5000}, {'name':'TEL', 'width':5000}, -- 2.39.5