[document_page] page_id should be readonly.

Improve active field
This commit is contained in:
Iván Todorovich
2018-04-24 15:06:39 -03:00
committed by Holger Brunn
parent 956e7a460a
commit 66b1d33dcf
3 changed files with 8 additions and 1 deletions

View File

@@ -22,6 +22,8 @@ class DocumentPage(models.Model):
default="content"
)
active = fields.Boolean(default=True)
parent_id = fields.Many2one(
'document.page',
'Category',