Now KiCost spreadsheet uses our sorting.

This commit is contained in:
Salvador E. Tropea 2021-10-20 13:13:09 -03:00
parent 58fb9fe09a
commit b2afeadc5c
2 changed files with 6 additions and 1 deletions

View File

@ -509,6 +509,11 @@ def _create_kicost_sheet(workbook, groups, image_data, fmt_title, fmt_info, fmt_
Spreadsheet.ADJUST_ROW_AND_COL_SIZE = True Spreadsheet.ADJUST_ROW_AND_COL_SIZE = True
Spreadsheet.MAX_COL_WIDTH = cfg.xlsx.max_col_width Spreadsheet.MAX_COL_WIDTH = cfg.xlsx.max_col_width
Spreadsheet.PART_NSEQ_SEPRTR = cfg.ref_separator Spreadsheet.PART_NSEQ_SEPRTR = cfg.ref_separator
# Keep our sorting
try:
Spreadsheet.SORT_GROUPS = False
except Exception:
pass
# Make the version less intrusive # Make the version less intrusive
Spreadsheet.WRK_FORMATS['about_msg']['font_size'] = 8 Spreadsheet.WRK_FORMATS['about_msg']['font_size'] = 8
# Don 't add project info, we add our own data # Don 't add project info, we add our own data

@ -1 +1 @@
Subproject commit e17771291b100e60516542d22e715d7593c19117 Subproject commit 88fcbde5be351894eb5b68ceaefce35c94166a10