FIX error message when cellvalue's type is not recognized

pull/321/head
Iván Todorovich 2019-09-06 11:34:40 +00:00
parent 7018a186d2
commit 3c29b4a760
1 changed files with 1 additions and 1 deletions

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]