Odoo Help


How step by step integration openerp 7 with google docs?

fenny senjaya
on 7/5/13, 5:44 AM 6,867 views

I want to integrate google docs with openerp 7.. how step for configuration is?


dianne jose
On 7/5/13, 11:00 AM
  1. you will be able to create google docs directly from OpenERP objects and link it to that object. Of course, it can be just a normal text document,
  2. Start by installing the module called google_docs.
  3. Make sure you fill in your google ID in the field google account in Users.

    Below screenshots explains the creation of google id of mail


  4. Then, you can try it by going, for example, in the CRM and open one lead. You will be able to see that under the attachment button on the topbar there is one more choice: Google Doc. If you click on it, it will create the google doc and next time you (or you colleagues) will click it will directly take you to that google doc.

    Below attachment explains how it works


  5. Optionally, you can now go to settings/google docs configuration/models configuration click to create one record, choose the OpenERP model (eg. for leads - crm.lead) and copy/paste the ID of a google doc to copy. That allows you to create other kind of google docs (like spreadsheets, presentations, etc.)

On 7/8/13, 5:51 AM

I would also like more details on this.

I get this error:

Server Traceback (most recent call last): File "/opt/openerp/web/training/addons/web/session.py", line 90, in send return openerp.netsvc.dispatch_rpc(service_name, method, args) File "/opt/openerp/server/training/openerp/netsvc.py", line 293, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/opt/openerp/server/training/openerp/service/web_services.py", line 626, in dispatch res = fn(db, uid, params) File "/opt/openerp/server/training/openerp/osv/osv.py", line 188, in execute_kw return self.execute(db, uid, obj, method, *args, *kw or {}) File "/opt/openerp/server/training/openerp/osv/osv.py", line 131, in wrapper return f(self, dbname, args, *kwargs) File "/opt/openerp/server/training/openerp/osv/osv.py", line 197, in execute res = self.execute_cr(cr, uid, obj, method, args, *kw) File "/opt/openerp/server/training/openerp/osv/osv.py", line 185, in execute_cr return getattr(object, method)(cr, uid, args, *kw) File "/opt/openerp/addons/training/google_docs/google_docs.py", line 171, in google_doc_get google_document = pool_ir_attachment.create_empty_google_doc(cr, uid, res_model, res_id, context=context) File "/opt/openerp/addons/training/google_docs/google_docs.py", line 97, in create_empty_google_doc local_resource = gdata.docs.data.Resource(gdata.docs.data.DOCUMENT_LABEL,title=title) AttributeError: 'module' object has no attribute 'Resource'

In the above explanation, it says step 5 is optional. But if I do step 5, the above error is gone. But then it says I have the incorrect google docs id. I have no clue on what my google doc id is. This is my doc: https://docs.google.com/file/d/0B7LqH_SJS3GFZlFEWjN2eVhaOE0/edit , I tried 0B7LqH_SJS3GFZlFEWjN2eVhaOE0 as my id, but that doesn't seem to be it.

Jose Gpe Osuna
On 7/7/14, 1:49 PM

I could fix it using:

apt-get remove python-gdata
apt-get install python-pip
pip install gdata --upgrade

Check this:


fenny senjaya
On 7/7/13, 11:33 PM

How to create google docs directly from OpenERP objects and link it to that object?

can you explain that more detail? thanks

fenny senjaya
on 7/8/13, 12:21 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)


Asked: 7/5/13, 5:44 AM
Seen: 6867 times
Last updated: 3/16/15, 8:10 AM