# How to integrate openmrs with odoo.

**URL:** https://talk.openmrs.org/t/how-to-integrate-openmrs-with-odoo/17920
**Category:** Development
**Tags:** bahmni
**Created:** [May 7, 2018, 5:17am UTC](https://talk.openmrs.org/t/how-to-integrate-openmrs-with-odoo/17920 "2018-05-07T05:17:03Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![naveed1228](https://talk.openmrs.org/letter_avatar/naveed1228/32/5_5575768a8748004e209b776fc1b2916d.png) [@naveed1228](https://talk.openmrs.org/u/naveed1228)
#### Post date: [May 7, 2018, 5:17am UTC](https://talk.openmrs.org/t/how-to-integrate-openmrs-with-odoo/17920/1 "2018-05-07T05:17:03Z")

</div>

We have developed the client application (using openmrs as backend) now our requirement is to integerate odoo Inventory module with our client side application.My question is that how Bahmni acheived.What are the possible way of doing this integeration.I am begginer level please provide some path for doing this. [https://wiki.openmrs.org/display/projects/OpenMRS-OpenERP+Integration](https://wiki.openmrs.org/display/projects/OpenMRS-OpenERP+Integration)

Thanks in advance:

---

<div class="post-metadata">

### Author: ![owais.hussain](https://talk.openmrs.org/user_avatar/talk.openmrs.org/owais.hussain/32/530_2.png) [@owais.hussain](https://talk.openmrs.org/u/owais.hussain)
#### Post date: [May 7, 2018, 5:30am UTC](https://talk.openmrs.org/t/how-to-integrate-openmrs-with-odoo/17920/2 "2018-05-07T05:30:38Z")

</div>

You may start from Bahmni [developers’ guide](https://bahmni.atlassian.net/wiki/spaces/BAH/pages/1310748/Developer+s+Guide). Bahmni provides a RESTful API for server-client interaction.

---

<div class="post-metadata">

### Author: ![naveed1228](https://talk.openmrs.org/letter_avatar/naveed1228/32/5_5575768a8748004e209b776fc1b2916d.png) [@naveed1228](https://talk.openmrs.org/u/naveed1228)
#### Post date: [May 7, 2018, 6:02am UTC](https://talk.openmrs.org/t/how-to-integrate-openmrs-with-odoo/17920/3 "2018-05-07T06:02:56Z")

</div>

Thanks will they also provide rest api for the OpenERP?

---

<div class="post-metadata">

### Author: ![danfuterman](https://talk.openmrs.org/user_avatar/talk.openmrs.org/danfuterman/32/10800_2.png) [@danfuterman](https://talk.openmrs.org/u/danfuterman)
#### Post date: [May 7, 2018, 6:20am UTC](https://talk.openmrs.org/t/how-to-integrate-openmrs-with-odoo/17920/4 "2018-05-07T06:20:23Z")

</div>

Hi @naveed1228, Bahmni uses [atom feeds](https://sharedhealth.atlassian.net/wiki/spaces/docs/pages/1343510/Atom+Feed) for synchronization of data between applications (e.g. OpenMRS \<-\> OpenERP). A few resources to help understand how this is managed:

- [Atom Feed Based Synchronization in Bahmni](https://bahmni.atlassian.net/wiki/spaces/BAH/pages/3506200/Atom+Feed+Based+Synchronization+in+Bahmni)
- [Bahmni Server Deployment Architecture](https://bahmni.atlassian.net/wiki/spaces/BAH/pages/1310730/Bahmni+Server+Deployment+Architecture)
- [Online Session on Atom Feed Integration](https://bahmni.atlassian.net/wiki/spaces/BAH/pages/37945615/ATOM+Feed+Integration+in+Bahmni+Online+session)
- [Bahmni Online Demo](https://bahmni.atlassian.net/wiki/spaces/BAH/pages/61997323/Bahmni+Online+Demo) - to see this in action

---

<div class="post-metadata">

### Author: ![naveed1228](https://talk.openmrs.org/letter_avatar/naveed1228/32/5_5575768a8748004e209b776fc1b2916d.png) [@naveed1228](https://talk.openmrs.org/u/naveed1228)
#### Post date: [May 7, 2018, 6:49am UTC](https://talk.openmrs.org/t/how-to-integrate-openmrs-with-odoo/17920/5 "2018-05-07T06:49:03Z")

</div>

Thanks for providing great resources.I am also looking for Restful API for Server-Client Interaction.Does they also provides the Restful API?

---

<div class="post-metadata">

### Author: ![mksd](https://talk.openmrs.org/user_avatar/talk.openmrs.org/mksd/32/11729_2.png) [@mksd](https://talk.openmrs.org/u/mksd)
#### Post date: [May 7, 2018, 8:17am UTC](https://talk.openmrs.org/t/how-to-integrate-openmrs-with-odoo/17920/6 "2018-05-07T08:17:53Z")

</div>

Yes but this is an Odoo question and you should follow up on their developers forums about that. Odoo REST API has nothing to do with OpenMRS.

---

<div class="post-metadata">

### Author: ![naveed1228](https://talk.openmrs.org/letter_avatar/naveed1228/32/5_5575768a8748004e209b776fc1b2916d.png) [@naveed1228](https://talk.openmrs.org/u/naveed1228)
#### Post date: [May 7, 2018, 2:29pm UTC](https://talk.openmrs.org/t/how-to-integrate-openmrs-with-odoo/17920/7 "2018-05-07T14:29:06Z")

</div>

@mksd thanks for the comment.I am looking for the possible ways of integerating openmrs with openERP, as Bahmni did.

---

<div class="post-metadata">

### Author: ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)
#### Post date: [May 7, 2018, 2:49pm UTC](https://talk.openmrs.org/t/how-to-integrate-openmrs-with-odoo/17920/8 "2018-05-07T14:49:14Z")

</div>

Why not just use bahmni instead of reinventing what they already did? It is not only cheaper to use the existing bahmni, but also more sustainable to use a product that is already widely used and supported by a broad community.

---

<div class="post-metadata">

### Author: ![naveed1228](https://talk.openmrs.org/letter_avatar/naveed1228/32/5_5575768a8748004e209b776fc1b2916d.png) [@naveed1228](https://talk.openmrs.org/u/naveed1228)
#### Post date: [May 8, 2018, 11:25am UTC](https://talk.openmrs.org/t/how-to-integrate-openmrs-with-odoo/17920/9 "2018-05-08T11:25:09Z")

</div>

Thanks we are going with the same approach as @dkayiwa describe .Does Bahmni customize the openERP module according to their needs or they are just using it as it is.Kindly can some one confirm with details.

---

<div class="post-metadata">

### Author: ![mksd](https://talk.openmrs.org/user_avatar/talk.openmrs.org/mksd/32/11729_2.png) [@mksd](https://talk.openmrs.org/u/mksd)
#### Post date: [May 8, 2018, 1:24pm UTC](https://talk.openmrs.org/t/how-to-integrate-openmrs-with-odoo/17920/10 "2018-05-08T13:24:20Z")

</div>

It is customised and still running an older version. The latter point is currently being addressed by the Bahmni Coalition.

@ajeenckya would you mind shedding light or pointing to resources that describe how specific and/or customized Bahmni’s Odoo is?

---

<div class="post-metadata">

### Author: ![naveed1228](https://talk.openmrs.org/letter_avatar/naveed1228/32/5_5575768a8748004e209b776fc1b2916d.png) [@naveed1228](https://talk.openmrs.org/u/naveed1228)
#### Post date: [April 30, 2019, 7:34am UTC](https://talk.openmrs.org/t/how-to-integrate-openmrs-with-odoo/17920/11 "2019-04-30T07:34:07Z")

</div>

@dkayiwa today I am able to answer why we are not choosing the AtomFeedModule.The AtomFeedModule Bahmni uses is pull based model.We tried to used the model but we faced alots of issues of synchronization between odoo and openmrs.The main issue we faced is that deployment of atomfeed module to tomcat.

We are looking for any alternative like push model to integrate between openmrs and odoo.Do you have any other alternative that we can used to acheive the integration between openmrs and odoo.

---

<div class="post-metadata">

### Author: ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)
#### Post date: [April 30, 2019, 8:28am UTC](https://talk.openmrs.org/t/how-to-integrate-openmrs-with-odoo/17920/12 "2019-04-30T08:28:41Z")

</div>

What exact problem did you get while deploying the atomfeed module on tomcat?

---

<div class="post-metadata">

### Author: ![naveed1228](https://talk.openmrs.org/letter_avatar/naveed1228/32/5_5575768a8748004e209b776fc1b2916d.png) [@naveed1228](https://talk.openmrs.org/u/naveed1228)
#### Post date: [May 2, 2019, 10:20am UTC](https://talk.openmrs.org/t/how-to-integrate-openmrs-with-odoo/17920/13 "2019-05-02T10:20:02Z")

</div>

@dkayiwa we are not quite.Is it possible or not because we don’t have too much expertise in deployment.We are moving toward this approach will you please provide your input on this.

> [@Atomfeed module and PushModel comparison seeking Input from Community](https://talk.openmrs.org/t/atomfeed-module-and-pushmodel-comparison-seeking-input-from-community/23047/2):
>
> Moved to the bahmni category.

We are reproducing the error and I will share the log here it soon as well. thanks
