summaryrefslogtreecommitdiff
path: root/addons/google_docs/google_docs.py
diff options
context:
space:
mode:
authorForam Katharotiya (OpenERP) <fka@tinyerp.com>2012-10-12 18:18:22 +0530
committerForam Katharotiya (OpenERP) <fka@tinyerp.com>2012-10-12 18:18:22 +0530
commitc853763491217ddcf00a5c1bf641e70385a58f44 (patch)
treed4fd16aec05bb3ca3e8b2d533598ad8b1727446e /addons/google_docs/google_docs.py
parentb0a95edda6ce009d9a78132dedb4f00cac69d8f2 (diff)
parent00f3dfc6d8b8c51cd7de514c12818fe63c820fd4 (diff)
[MERGE] trunk
bzr revid: apa@tinyerp.com-20121011053959-e7afbpa0huhkqhm1 bzr revid: fka@tinyerp.com-20121012124822-6cilqfyosc4ai62r
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'