[IMP] format xlsx to global files

This commit is contained in:
Saran440
2020-11-19 17:37:45 +07:00
committed by Luc De Meyer
parent 97e530adeb
commit fc58616a78
2 changed files with 4 additions and 0 deletions

View File

@@ -264,6 +264,7 @@ class ReportXlsxAbstract(models.AbstractModel):
)
# formats for worksheet table column headers
<<<<<<< HEAD
FORMATS["format_theader_grey_left"] = workbook.add_format(theader_grey)
FORMATS["format_theader_grey_center"] = workbook.add_format(
dict(theader_grey, align="center")
@@ -327,6 +328,8 @@ class ReportXlsxAbstract(models.AbstractModel):
dict(theader_grey, num_format=int_format_conditional, align="right")
)
=======
>>>>>>> [IMP] format xlsx to global files
FORMATS["format_theader_yellow_left"] = workbook.add_format(theader_yellow)
FORMATS["format_theader_yellow_center"] = workbook.add_format(
dict(theader_yellow, align="center")

View File

@@ -162,3 +162,4 @@ FORMATS = {
"format_tcell_date_center_bold": False,
"format_tcell_date_right_bold": False,
}