[MIG] document_page: Migration to 15.0

This commit is contained in:
Jacob Oldfield
2021-10-29 20:55:45 +11:00
committed by Justine Doutreloux
parent 374f250e2b
commit a2e0c9b8dd
14 changed files with 43 additions and 55 deletions

View File

@@ -16,8 +16,8 @@ class DocumentPageHistory(models.Model):
page_id = fields.Many2one("document.page", "Page", ondelete="cascade")
name = fields.Char(index=True)
summary = fields.Char(index=True)
content = fields.Text()
diff = fields.Text(compute="_compute_diff")
content = fields.Html(sanitize=False)
diff = fields.Html(compute="_compute_diff")
company_id = fields.Many2one(
"res.company",