From 3c29b4a760bcb8faa0e370f9f9330d75dfe8aab4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Todorovich?= Date: Fri, 6 Sep 2019 11:34:40 +0000 Subject: [PATCH] FIX error message when cellvalue's type is not recognized --- report_xlsx_helper/report/report_xlsx_abstract.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/report_xlsx_helper/report/report_xlsx_abstract.py b/report_xlsx_helper/report/report_xlsx_abstract.py index 8c007ff7..7dadc70f 100644 --- a/report_xlsx_helper/report/report_xlsx_abstract.py +++ b/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]