Se rendre au contenu
Menu
Cette question a été signalée
2 Réponses
6808 Vues

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
Ignorer

Hello. I hope the following information will be helpful.

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

Regards.

Meilleure réponse

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

Avatar
Ignorer
Auteur

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

Meilleure réponse

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
Ignorer
Auteur

thank you, will have a look

Publications associées Réponses Vues Activité
1
août 25
336
2
juil. 25
2789
3
juil. 25
601
1
juin 25
2049
1
août 25
976