How google_base_account works?


The question has been closed

Sudhir Arya (ERP Harbor Consulting Services)
on 05/19/2014 07:54:30

I installed google_base_account module. I saw only two fields are there, Username & Password in `res.user`. But I don't know how this module works. Module description says that The module adds google user in res user.

But question is how?

Thank you.

1 Answer
Best Answer

From what I have been able to determine it serves no purpose on it's own. It is a base module in an object-oriented programming (OOP) sense of a abstract base class; offers functionality to derived classes but can't be used on its own.

If you now install the module google_docs, it will have access to the user credentials you supply to the base module.

Once you have installed it, then ...

  • Go to Setting -> Users -> Users -> 'Your user' -> Synchronization page: Enter your login and password for google (e.g.: and 2hard4u2guess)
  • Go to Google Docs Configuration -> Model configuration -> Create.
    • Provide a model type (e.g.: Sales Lead/Opp)
    • Provide the key of the document or spreadsheet you want to add, putting document: or spreadsheet: in front of it
  • Go to a Lead/Opportunity and attach the Google Doc.
  • Check your Doc library in Google and you will see that the original has been duplicated and given a new name.

Module description says that The module adds google user in res user. What do you think about that? Does it really do this?


Yes, I have been able to use an XMLRPC call to change those two attributes of res.user. I suspect you would be able to export a user and have those values exported too. (Which might be a security hole. Heh! Heh!)