Browse Source

FIX error message when cellvalue's type is not recognized

pull/321/head
Iván Todorovich 5 years ago
parent
commit
3c29b4a760
  1. 2
      report_xlsx_helper/report/report_xlsx_abstract.py

2
report_xlsx_helper/report/report_xlsx_abstract.py

@ -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]

Loading…
Cancel
Save