[IMP] document_page: Use Odoo HTML Diff comparison method

This commit is contained in:
Enric Tobella
2025-12-15 09:59:54 +01:00
parent 90a8ed45f6
commit 864c0a000c
13 changed files with 143 additions and 98 deletions

View File

@@ -27,4 +27,4 @@ class DocumentPageShowDiff(models.TransientModel):
raise UserError(self.env._("Select one or maximum two history revisions!"))
return diff
diff = fields.Html(readonly=True, default=_get_diff)
diff = fields.Html(readonly=True, default=_get_diff, sanitize_tags=False)