From 826e2b8fdbb267efab4feff67e373e0e0c1c1568 Mon Sep 17 00:00:00 2001 From: "Mayur Maheshwari (OpenERP)" Date: Fri, 28 Sep 2012 11:03:38 +0530 Subject: [PATCH] [FIX]Google_docs: added Resource lib for latest gadta.docs and improve raise msg bzr revid: mma@tinyerp.com-20120928053338-oqzeawxblt7l6nt4 --- addons/google_docs/google_docs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/google_docs/google_docs.py b/addons/google_docs/google_docs.py index f1477f9c7f2..f1e8dff0d45 100644 --- a/addons/google_docs/google_docs.py +++ b/addons/google_docs/google_docs.py @@ -26,8 +26,9 @@ try: from gdata.client import RequestError from gdata.docs.service import DOCUMENT_LABEL import gdata.auth + from gdata.docs.data import Resource except ImportError: - raise osv.except_osv(_('Google Docs Error!'), _('Please install gdata-python-client from http://code.google.com/p/gdata-python-client/downloads/list.')) + raise osv.except_osv(_('Google Docs Error!'), _('Please install latest gdata-python-client from http://code.google.com/p/gdata-python-client/downloads/list.')) class google_docs_ir_attachment(osv.osv): _inherit = 'ir.attachment'