mirror of
https://github.com/OCA/knowledge.git
synced 2025-12-19 11:52:18 -06:00
[IMP] document_page: add Browse Wiki Content view Kanban
This commit is contained in:
committed by
Justine Doutreloux
parent
dcb85fe9e3
commit
d0df693b95
@@ -94,6 +94,9 @@ class DocumentPage(models.Model):
|
||||
compute="_compute_backend_url",
|
||||
)
|
||||
|
||||
image = fields.Binary("Image", attachment=True)
|
||||
color = fields.Integer(string="Color Index")
|
||||
|
||||
@api.depends("menu_id", "parent_id.menu_id")
|
||||
def _compute_backend_url(self):
|
||||
tmpl = "/web#id={}&model=document.page&view_type=form"
|
||||
|
||||
Reference in New Issue
Block a user