Browse Source

FIX error message when cellvalue's type is not recognized

14.0
Iván Todorovich 5 years ago
committed by Saran440
parent
commit
534e21777d
  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