Khushboo Bhatt(openerp) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-document-page-kbh into 
lp:openobject-addons.

Requested reviews:
  OpenERP Core Team (openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-document-page-kbh/+merge/133863

Hello,
  Document_page:
 I have fixed the issue of "traceback: AttributeError: "Field 'document_id' 
does not exist in object 'browse_record(document.page.history, 1)'"


Thanks,
KBH.
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-document-page-kbh/+merge/133863
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-document-page-kbh.
=== modified file 'document_page/wizard/document_page_show_diff.py'
--- document_page/wizard/document_page_show_diff.py	2012-08-10 00:09:08 +0000
+++ document_page/wizard/document_page_show_diff.py	2012-11-12 07:28:21 +0000
@@ -43,7 +43,7 @@
 
         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:

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to