mirror of
https://github.com/OCA/knowledge.git
synced 2025-12-19 03:42:19 -06:00
[IMP] document_page_approval: pre-commit auto fixes
This commit is contained in:
@@ -151,8 +151,9 @@ class DocumentPageHistory(models.Model):
|
||||
)
|
||||
|
||||
page.page_url = (
|
||||
"{}/web#db={}&id={}&" "model=document.page.history"
|
||||
).format(base_url, self.env.cr.dbname, page.id)
|
||||
f"{base_url}/web#db={self.env.cr.dbname}&id={page.id}&"
|
||||
"model=document.page.history"
|
||||
)
|
||||
|
||||
def _compute_diff(self):
|
||||
"""Shows a diff between this version and the previous version"""
|
||||
|
||||
Reference in New Issue
Block a user