Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
6752 Представления

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

Related Posts Ответы Просмотры Активность
2
июл. 25
2589
3
июл. 25
435
1
июл. 25
115
1
июн. 25
1928
1
июл. 25
907