Merge pull request 'add REQUEST parameter (fix VG bug 21/08 08:23)' (#104) from jmplace/ScoDoc-Lille:fix_import_photos into master

Reviewed-on: https://scodoc.org/git/viennet/ScoDoc/pulls/104
This commit is contained in:
Emmanuel Viennet 2021-08-21 10:14:07 +02:00
commit 4c7ff122b0

View File

@ -481,6 +481,7 @@ def photos_generate_excel_sample(group_ids=[], REQUEST=None):
"photo_filename", "photo_filename",
], ],
extra_cols=["fichier_photo"], extra_cols=["fichier_photo"],
REQUEST=REQUEST,
) )
return sco_excel.send_excel_file(REQUEST, data, "ImportPhotos" + scu.XLSX_SUFFIX) return sco_excel.send_excel_file(REQUEST, data, "ImportPhotos" + scu.XLSX_SUFFIX)