diff options
| author | Thibault Delavallée <tde@openerp.com> | 2012-11-12 11:50:22 +0100 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2012-11-12 11:50:22 +0100 |
| commit | e45a70df87e22b2c6fb09bbfc471abf74ef5acfc (patch) | |
| tree | c04e0a47ad83d5263789f03a7d1d2c220e23344e /addons/document_page/wizard/document_page_show_diff.py | |
| parent | 6bf37ebb14efb38b1514b5b5cab809713c20ab6e (diff) | |
| parent | f033fddba04e192f7607bf3adb0652b9520b8332 (diff) | |
[MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121112105022-lnr1cx6mmxlertoe
Diffstat (limited to 'addons/document_page/wizard/document_page_show_diff.py')
| -rw-r--r-- | addons/document_page/wizard/document_page_show_diff.py | 2 |
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: |
