Skip to content

Commit

Permalink
Revert "Revert "[FIX] #109""
Browse files Browse the repository at this point in the history
This reverts commit 52bc8fc.
  • Loading branch information
Maxime Chambreuil committed Apr 20, 2017
1 parent 52bc8fc commit 54e14f4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions document_page/models/document_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,26 +76,26 @@ class DocumentPage(models.Model):

create_date = fields.Datetime(
"Created on",
select=True,
index=True,
readonly=True
)

create_uid = fields.Many2one(
'res.users',
'Author',
select=True,
index=True,
readonly=True
)

write_date = fields.Datetime(
"Modification Date",
select=True,
index=True,
readonly=True)

write_uid = fields.Many2one(
'res.users',
"Last Contributor",
select=True,
index=True,
readonly=True
)

Expand Down
2 changes: 1 addition & 1 deletion document_page/models/document_page_history.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class DocumentPageHistory(models.Model):
_rec_name = "create_date"

page_id = fields.Many2one('document.page', 'Page')
summary = fields.Char('Summary', select=True)
summary = fields.Char('Summary', index=True)
content = fields.Text("Content")
create_date = fields.Datetime("Date")
create_uid = fields.Many2one('res.users', "Modified By")
Expand Down

0 comments on commit 54e14f4

Please sign in to comment.