Mayur Maheshwari(OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-addons_issue12_google_docs-mma into
lp:openobject-addons.
Requested reviews:
OpenERP Core Team (openerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-addons_issue12_google_docs-mma/+merge/126856
Hello
I have added Resource lib in Import bcoz in latest version of
python-gdata-client docs.entry are updated with Resource so its causes a
trace-back like [ 'module' object has no attribute 'Resource'] and also update
a raise message
Thanks,
Mayur
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-addons_issue12_google_docs-mma/+merge/126856
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-addons_issue12_google_docs-mma.
=== modified file 'google_docs/google_docs.py'
--- google_docs/google_docs.py 2012-09-26 14:08:02 +0000
+++ google_docs/google_docs.py 2012-09-28 05:48:22 +0000
@@ -26,8 +26,9 @@
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'
_______________________________________________
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