[MIG] document_page: Migration to 14.0

This commit is contained in:
dzung.tran
2021-02-22 15:46:05 +07:00
committed by Justine Doutreloux
parent 2eeab62555
commit 3fd611939f
14 changed files with 96 additions and 59 deletions

View File

@@ -12,7 +12,7 @@ class DocumentPageShowDiff(models.TransientModel):
_description = "Document Page Show Diff"
def _get_diff(self):
"""Return the Difference between two document."""
"""Return the Difference between two documents"""
history = self.env["document.page.history"]
ids = self.env.context.get("active_ids", [])
diff = False