summaryrefslogtreecommitdiff
path: root/addons/google_docs/google_docs.py
diff options
context:
space:
mode:
authorDivyesh Makwana (Open ERP) <mdi@tinyerp.com>2012-10-12 10:37:05 +0530
committerDivyesh Makwana (Open ERP) <mdi@tinyerp.com>2012-10-12 10:37:05 +0530
commit1cd25702a00336ae4ef1c0d5cfdccbe586f99fea (patch)
treeb897180e6b92505b0c85c14e873cbf5e86843f78 /addons/google_docs/google_docs.py
parentc1fdc5b3662b1a2bb23da2d2005dc176a4430c21 (diff)
parentf830a534d67cd34dc4b98f9207cbaab6fd80e966 (diff)
[Merge] Merge with main addons.
bzr revid: mdi@tinyerp.com-20121012050705-3mjloiqkfgz6q8jr
Diffstat (limited to 'addons/google_docs/google_docs.py')
-rw-r--r--addons/google_docs/google_docs.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/addons/google_docs/google_docs.py b/addons/google_docs/google_docs.py
index f1477f9c7f2..5ff80530c94 100644
--- a/addons/google_docs/google_docs.py
+++ b/addons/google_docs/google_docs.py
@@ -26,8 +26,11 @@ 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.'))
+ import logging
+ _logger = logging.getLogger(__name__)
+ _logger.warning("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'