This question has been flagged
2 Replies
5964 Views

I would like to link OpenERP with my firm intranet, for example, to let users punch in or out from the intranet. The user would click the "punch in" (or out) button in the intranet site, and all the work would be made behind the scenes by OpenERP, totally transparent to the user.

Is there already a web-API that I could use, or would I have to tweak OpenERP to make my own API?

Thank you in advance

Avatar
Discard

Hello. I hope the following information will be helpful.

http://doc.openerp.com/v6.0/developer/6_22_XML-RPC_web_services/

Regards.

Best Answer

There is indeed an API. Start here: http://doc.openerp.com/v6.1/developer/12_api.html

Avatar
Discard
Author

wow that was really fast! Thank you, I'll go and check

Best Answer

You may get some useful ideas from a project we are authoring:

Google Spreadsheets to OpenERP Data Pump

Mainly, it binds third party modules, so the actual amount of code to look at is very small.

While still in an early beta-stage of development, we have tested it for :

  • instantiating a fresh database
  • installing modules
  • updating existing data
  • loading data in bulk.

The key benefit is that you can declare what you want done in a Google spreadsheet, as long as a class and method to service that task exist. Meanwhile, new classes and methods require very little code.

Avatar
Discard
Author

thank you, will have a look