summaryrefslogtreecommitdiff
path: root/addons/document_page/wizard/document_page_show_diff.py
diff options
context:
space:
mode:
authorFabien Pinckaers <fp@tinyerp.com>2012-11-12 11:45:24 +0100
committerFabien Pinckaers <fp@tinyerp.com>2012-11-12 11:45:24 +0100
commitf033fddba04e192f7607bf3adb0652b9520b8332 (patch)
tree8f8ac352e1135b1d9b8e1206c28e53f022b8c07b /addons/document_page/wizard/document_page_show_diff.py
parentbe03940d64800e5adc0789e419e606252c3f5cf5 (diff)
parent761b2805d938bb0a899c57439eae74633ff7d55c (diff)
[MERGE] 30 merge props
bzr revid: fp@tinyerp.com-20121112104524-ytd1d0c4tz0fbd01
Diffstat (limited to 'addons/document_page/wizard/document_page_show_diff.py')
-rw-r--r--addons/document_page/wizard/document_page_show_diff.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/document_page/wizard/document_page_show_diff.py b/addons/document_page/wizard/document_page_show_diff.py
index ab5572768f4..13e8e79b3b7 100644
--- a/addons/document_page/wizard/document_page_show_diff.py
+++ b/addons/document_page/wizard/document_page_show_diff.py
@@ -43,7 +43,7 @@ class showdiff(osv.osv_memory):
elif len(ids) == 1:
old = history.browse(cr, uid, ids[0])
- nids = history.search(cr, uid, [('document_id', '=', old.document_id.id)])
+ nids = history.search(cr, uid, [('page_id', '=', old.page_id.id)])
nids.sort()
diff = history.getDiff(cr, uid, ids[0], nids[-1])
else: