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
mreficent
parent
ba4095d489
commit
6fd5d670f1
@@ -21,6 +21,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