Community mailing list archives
Re: Connect Odoo to J2EE applicationby
Skillteam, Houssine BAKKALI
AFAIT odoo should be the master and is the provisionning system. Your J2EE application should send request to get the generated last sale order. It will need little dev in odoo and you will use xml-rpc to request Odoo about whatever you want and for which the odoo user used to send the request has been granted.
2016-07-14 12:21 GMT+02:00 Karim AJRAAM <email@example.com>:
In our information system we have two applications, Odoo ERP and J2EE applications manages a portion not covered by Odoo. I need to send information from Odoo to J2EE application to power it. For example when creating an sale order odoo send this information to the application.2016-07-14 12:06 GMT+02:00 Houssine BAKKALI <firstname.lastname@example.org>:It depends on what info you want to send but you may need to implement this on CRUD operation. What if a sale order is cancelled?I think that doing it in the other way would be easier and will require less dev effort... so you should send xml-rpc request to odoo... but without knowing your requirements is hard to help...2016-07-14 11:56 GMT+02:00 Karim AJRAAM <email@example.com>:my goal is to send data during its creation on Odoo, I think this must be added in the create method.2016-07-14 11:52 GMT+02:00 Houssine BAKKALI <firstname.lastname@example.org>:what Karim want to achieve is send the info outside Odoo AFAIU2016-07-14 11:22 GMT+02:00 Zakaria Makrelouf <email@example.com>:
You need to de it this way, http://www.odoo.com/documentation/9.0/api_integration.htmlOr better create a web service for your J2EE application and use Odoo connectorOn Jul 14, 2016, at 9:27 AM, Karim AJRAAM <firstname.lastname@example.org> wrote:Hello Community,I want to connect Odoo to J2EE application, for example when create purchase order send its informations to J2EE application. if you can tell me the best way to achieve this.Best regards.