mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
FIX error message when cellvalue's type is not recognized
This commit is contained in:
committed by
Saran440
parent
fd4172648c
commit
534e21777d
@@ -517,7 +517,7 @@ class ReportXlsxAbstract(models.AbstractModel):
|
|||||||
"col_specs_section %s, column %s"
|
"col_specs_section %s, column %s"
|
||||||
) % (__name__, col_specs_section, col)
|
) % (__name__, col_specs_section, col)
|
||||||
if cell_value:
|
if cell_value:
|
||||||
msg += _(", cellvalue %s")
|
msg += _(", cellvalue %s") % cell_value
|
||||||
raise UserError(msg)
|
raise UserError(msg)
|
||||||
colspan = cell_spec.get('colspan') or colspan
|
colspan = cell_spec.get('colspan') or colspan
|
||||||
args_pos = [row_pos, pos]
|
args_pos = [row_pos, pos]
|
||||||
|
|||||||
Reference in New Issue
Block a user