misc: give ods sheet the formdef name (#41001)
This commit is contained in:
parent
b58673beaf
commit
fb54381760
|
@ -1789,7 +1789,7 @@ class FormPage(Directory):
|
|||
|
||||
def export(self, job=None):
|
||||
w = ods.Workbook(encoding=get_publisher().site_charset)
|
||||
ws = w.add_sheet('1')
|
||||
ws = w.add_sheet(self.formdef.name)
|
||||
|
||||
for i, f in enumerate(self.formpage.csv_tuple_heading(self.fields)):
|
||||
ws.write(0, i, f)
|
||||
|
|
Loading…
Reference in New Issue