[IMP] document_page: add Browse Wiki Content view Kanban

This commit is contained in:
Kaynnan Lemes
2024-04-02 18:23:19 -03:00
parent 7bd8c295fa
commit e00fce5ce3
5 changed files with 218 additions and 6 deletions

View File

@@ -96,6 +96,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"