From 02e59a63967d88af6cb9d4356f11a427cc6f7ee7 Mon Sep 17 00:00:00 2001 From: Andrea Stirpe Date: Wed, 20 Sep 2023 11:28:12 +0200 Subject: [PATCH] [16.0][FIX] l10n_nl_xaf_auditfile_export: parse EntityRef error --- l10n_nl_xaf_auditfile_export/models/ir_qweb.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/l10n_nl_xaf_auditfile_export/models/ir_qweb.py b/l10n_nl_xaf_auditfile_export/models/ir_qweb.py index 8bc33062f..cfc71b387 100644 --- a/l10n_nl_xaf_auditfile_export/models/ir_qweb.py +++ b/l10n_nl_xaf_auditfile_export/models/ir_qweb.py @@ -13,7 +13,8 @@ class IrQwebAuditfileStringWidget999(models.AbstractModel): @api.model def value_to_html(self, value, options): value = value[: self._max_length] if value else "" - return super().value_to_html(value, options) + res = super().value_to_html(value, options) + return str(res) # From markup to string class IrQwebAuditfileStringWidget9(models.AbstractModel):