تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
6775 أدوات العرض

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
يوليو 25
2695
3
يوليو 25
526
1
يوليو 25
214
1
يونيو 25
1971
1
يوليو 25
940