[10.0][FIX]fix _render for cell formats

This commit is contained in:
luc.demeyer@noviat.com
2018-11-04 10:07:42 +01:00
committed by Saran440
parent cf9185db0d
commit 9d1609aede

View File

@@ -519,6 +519,8 @@ class ReportXlsxAbstract(models.AbstractModel):
args_pos = [row_pos, pos]
args_data = [cell_value]
if cell_format:
if isinstance(cell_format, CodeType):
cell_format = self._eval(cell_format, render_space)
args_data.append(cell_format)
if colspan > 1:
args_pos += [row_pos, pos + colspan - 1]