mirror of
https://github.com/OCA/knowledge.git
synced 2025-12-22 13:22:19 -06:00
[document_page] page_id should be readonly.
Improve active field
This commit is contained in:
committed by
Holger Brunn
parent
956e7a460a
commit
66b1d33dcf
@@ -22,6 +22,8 @@ class DocumentPage(models.Model):
|
||||
default="content"
|
||||
)
|
||||
|
||||
active = fields.Boolean(default=True)
|
||||
|
||||
parent_id = fields.Many2one(
|
||||
'document.page',
|
||||
'Category',
|
||||
|
||||
Reference in New Issue
Block a user