diff options
| author | Vijaykumar Baladaniya <vba@tinyerp.com> | 2012-10-15 11:44:32 +0530 |
|---|---|---|
| committer | Vijaykumar Baladaniya <vba@tinyerp.com> | 2012-10-15 11:44:32 +0530 |
| commit | eb0b0650c435feef106c1e22de65e217111ee1b2 (patch) | |
| tree | 60dfea6ac9f8709f7fea23e51ff34b3022d588fd /addons/google_docs/google_docs.py | |
| parent | 2c6281b4fb1c1512c4bdeb5e70c7e17fd73c5a67 (diff) | |
| parent | 81b2e5c8ae46d795bf6e0cb7fc620d60f5c5b291 (diff) | |
[MERGE]Merge with trunk-google-doc-imp-rga.
bzr revid: vba@tinyerp.com-20121015061432-ugrpvdx98k2n7q4e
Diffstat (limited to 'addons/google_docs/google_docs.py')
| -rw-r--r-- | addons/google_docs/google_docs.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/addons/google_docs/google_docs.py b/addons/google_docs/google_docs.py index 76530c1290c..47029e78210 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' |
