diff options
| author | Khushboo Bhatt (Open ERP) <kbh@tinyerp.com> | 2012-11-12 12:50:13 +0530 |
|---|---|---|
| committer | Khushboo Bhatt (Open ERP) <kbh@tinyerp.com> | 2012-11-12 12:50:13 +0530 |
| commit | d65963acf0d6743ff5ca4e28da27cc09048f6a2d (patch) | |
| tree | ba4cccec091fafc76769709c33971eba8fa5a542 /addons/document_page | |
| parent | f605e15039ee2190f0afb2396cef4aa18a4e05b8 (diff) | |
[Fix]document_page:Field 'document_id' does not exist in object browse_record(document.page.history, 1)
bzr revid: kbh@tinyerp.com-20121112072013-3gjpjlcqml948eao
Diffstat (limited to 'addons/document_page')
| -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: |
