India

ZestyBeanz Technologies Pvt Ltd 4th Floor, Nila, Technopark Thiruvananthapuram,
India – 695581
Phone: +91 471 4063254
Fax : +91 471 2700171

   .

ZestyBeanz Technologies Pvt Ltd
61/3236, Manikkath Cross Road
Ravipuram, Kochi, India - 682016
Phone: +91 484 4063254

  UAE

Zesty Labs
Office # 2003, Millennium Plaza Building
Sheikh Zayed Rd, Dubai, UAE
Phone: +971 4333 2222​
Mobile: +971-52-7553466

  Germany​

ZestyBeanz Technologies GmbH
Reuterstraße 1
90408 Nürnberg
Fon: +49 911 4801 444
Fax: +49 911 4801 445

Contact Form


Lipin P's picture

Porting of OpenERP Proxy API to Drupal 7

 I met my success in porting the Drupal 6 module, OpenERP Proxy API  to Drupal 7 (D7). Now it is working with OpenERP 5 and OpenERP 6. I faced many complications to make the data communication between Drupal and OpenERP. Even though we can have  specific methods to  tranfer projects, leads  anything like these from OpenERP or from Drupal and make both to communicate each other, I wished if I had a specific API module in Drupal 6 my task will be easier. Later, I found this module will do the nice. Thanks to BoogieBug  who developped the Drupal6 version

About OpenERP Proxy API

This module provides API for other Drupal modules to interface with the OpenERP via the XML-RPC calls.The API includes  authentication, searching, data retrieval, data updating to the OpenERP server. You will need a working OpenERP server to run this module.This module does not provide any user interfaces rather than the administration UI to configure the common OpenERP account information as well as altering the user's profile to allow each user use their own account.
 I found some problems with in the latest version of this module It  gave me errors like white screen erros , some unknown erros etc.
So before poring this module to D7 I had to solve all these. For a reference  I used alpha 2 verion which gave me minimal errors in my Drupal 6 installations.
Key steps to port this module to D7  included:

  •  Change format of database quires.
  • Changing the hook functions according to Drupal7.
  • Coding for D7's XML-RPC

Steps 1& 2 are common when we port any Drupal 6 module to drupal7. The XML-RPC request and function calling format is totally different in the case of D7.
After porting this module to Drupal 7 we can  create custom modules through which we can keep our  OpenERP and Drupal 7 in synchronization. The advantage of using this API is that we can simply make the XML-RPC functions to read,insert,update etc.

Reply

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <c>, <cpp>, <drupal5>, <drupal6>, <java>, <javascript>, <php>, <python>, <ruby>. The supported tag styles are: <foo>, [foo], [[foo]]. PHP source code can also be enclosed in <?php ... ?> or <% ... %>.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image. Ignore spaces and be careful about upper and lower case.