summaryrefslogtreecommitdiff
path: root/addons/document_page/wizard/document_page_show_diff.py
diff options
context:
space:
mode:
authorArnaud Pineux <api@openerp.com>2012-11-16 09:50:42 +0100
committerArnaud Pineux <api@openerp.com>2012-11-16 09:50:42 +0100
commitdc3f98308d1fb9bca54dcc2d0dd0e4d7f66ca5aa (patch)
tree082c6c0cca740c774b6b24dc040222e4ec39e948 /addons/document_page/wizard/document_page_show_diff.py
parent74a18de6cb6e4731cc75a53f1f3d06849dbadad7 (diff)
parent3c8626efbbe8b4d60154d0b9660cc9c0c0373e0b (diff)
[FIX] audittrail
lp bug: https://launchpad.net/bugs/1055813 fixed bzr revid: api@openerp.com-20121116085042-v8q78tof9jyuec07
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: