Skip to content

Commit

Permalink
Merge PR #398 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by hbrunn
  • Loading branch information
OCA-git-bot committed Feb 12, 2024
2 parents f750902 + 02e59a6 commit 716ca6c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion l10n_nl_xaf_auditfile_export/models/ir_qweb.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 716ca6c

Please sign in to comment.