FIX error message when cellvalue's type is not recognized

This commit is contained in:
Iván Todorovich
2019-09-06 11:34:40 +00:00
committed by Saran440
parent fd4172648c
commit 534e21777d

View File

@@ -517,7 +517,7 @@ class ReportXlsxAbstract(models.AbstractModel):
"col_specs_section %s, column %s"
) % (__name__, col_specs_section, col)
if cell_value:
msg += _(", cellvalue %s")
msg += _(", cellvalue %s") % cell_value
raise UserError(msg)
colspan = cell_spec.get('colspan') or colspan
args_pos = [row_pos, pos]