summaryrefslogtreecommitdiff
path: root/addons/document_page
diff options
context:
space:
mode:
authorMartin Trigaux <mat@openerp.com>2013-06-20 16:53:12 +0200
committerMartin Trigaux <mat@openerp.com>2013-06-20 16:53:12 +0200
commit488008f30b75e6edfe76e98cd4a856bc5217fb68 (patch)
treef60114ef374711f77a351f433ca6bf145f1249ab /addons/document_page
parent43a89d5d5d6bf69d2cf5f78dc9729cdceb44c621 (diff)
parente90b1a22c34d6d1fe070c7f6a80797cb6c197027 (diff)
[MERGE] [FIX] document_page: prevent modifing write_uid field
bzr revid: mat@openerp.com-20130620145312-88fy63l5dab4j9v0
Diffstat (limited to 'addons/document_page')
-rw-r--r--addons/document_page/document_page.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/document_page/document_page.py b/addons/document_page/document_page.py
index f74cfe02a21..7f885018001 100644
--- a/addons/document_page/document_page.py
+++ b/addons/document_page/document_page.py
@@ -66,7 +66,7 @@ class document_page(osv.osv):
'create_date': fields.datetime("Created on", select=True, readonly=True),
'create_uid': fields.many2one('res.users', 'Author', select=True, readonly=True),
'write_date': fields.datetime("Modification Date", select=True, readonly=True),
- 'write_uid': fields.many2one('res.users', "Last Contributor", select=True),
+ 'write_uid': fields.many2one('res.users', "Last Contributor", select=True, readonly=True),
}
_defaults = {
'type':'content',