[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 mreficent
parent ba4095d489
commit 6fd5d670f1
3 changed files with 8 additions and 1 deletions

View File

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