mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[10.0][FIX]fix _render for cell formats
This commit is contained in:
committed by
Saran440
parent
cf9185db0d
commit
9d1609aede
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user