From de47d751a73c379aefe5b00ac1807ccc500030ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Mon, 29 Feb 2016 22:30:42 +0100 Subject: [PATCH] backoffice: export "display id" in csv and other files (#10130) --- wcs/backoffice/management.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcs/backoffice/management.py b/wcs/backoffice/management.py index aade59e..bd0654c 100644 --- a/wcs/backoffice/management.py +++ b/wcs/backoffice/management.py @@ -1118,7 +1118,7 @@ class FormPage(Directory): elements = [] for field in fields: if field.type == 'id': - element = str(data.id) + element = data.get_display_id() elif field.type == 'time': element = misc.localstrftime(data.receipt_time) elif field.type == 'user-label': -- 2.7.0