[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
parent 57468bd4b3
commit 8612f78b7b
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',