Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
4 Risposte
10500 Visualizzazioni

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

thanks

Avatar
Abbandona
Risposta migliore
  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

    google_docs_blog.png

  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

    scren2.png

  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.)

Avatar
Abbandona
Autore Risposta migliore

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

Avatar
Abbandona
Autore

can you explain that more detail? thanks

Risposta migliore

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.

Avatar
Abbandona
Risposta migliore

I could fix it using:

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

Check this:

https://services.openerp.com/forum/Help-1/question/How-step-by-step-integration-openerp-7-with-google-docs-23531

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
lug 18
5393
1
apr 25
1375
2
gen 24
7555
8
dic 19
20363
3
ago 25
3517