跳至內容
選單
此問題已被標幟
2 回覆
6760 瀏覽次數

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

頭像
捨棄

Hello. I hope the following information will be helpful.

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

Regards.

最佳答案

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

頭像
捨棄
作者

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

最佳答案

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.

頭像
捨棄
作者

thank you, will have a look

相關帖文 回覆 瀏覽次數 活動
2
7月 25
2657
3
7月 25
484
1
7月 25
181
1
6月 25
1946
1
7月 25
922