Upgrade Bahmni to Odoo (v16)

  • This is an Active initiative of Bahmni team, to upgrade the ERP component packaged with Bahmni from Odoo (v10) to Odoo (v16).

  • Please watch this JIRA board (Odoo-upgrade) to get a sense of the roadmap items, and to participate or provide feedback.


Bahmni had upgraded from OpenERP to Odoo-v10 in v0.92. Now, as part of this initiative, we wish to migrate to Odoo-v16, so that Bahmni is shipped with a modern, opensource, supported & secure ERP package. Please see details of Odoo versions on this page: https://www.odoo.com/page/release-notes#table_of_content_heading_1648216233858_666 and LTS (Long term Support guideliens by Odoo) here: https://www.odoo.com/page/odoo-long-term-support

This initiative is expected to be completed by Mar 1, 2024 . We welcome the community to try and provide feedback to the team working on this initiative. You can see a demo of this on the Bahmni Standard Demo (odoo-v16 server) here https://bahmni.atlassian.net/wiki/spaces/BAH/pages/3037757441.

Bahmni Odoo-v16 Scope

  1. Atomfeed based sync of the following from Bahmni → Odoo

    1. Patient → Customer

    2. Drugs → Products

    3. Lab Tests/Panels → Services

    4. Procedures → Services

    5. Drug/Lab/Procedure Orders → Quotations

  2. The atom feed sync will shift from original XML/RPC to the new JSONRPC/REST with Odoo-v16. A toggle will be added which controls whether the sync service is syncing using XML, or using the new JSON based mechanism. This will allow the same sync code to run in two modes (depending on what the target system is: XML for Odoo-v10, and JSON for Odoo-v16 onwards). Eventually the XML based sync will be deprecated.

  3. Provide ability to perform automated master data migration from Odoo v10-> Odoo v16 for following entities: Customer, Supplier, Product, Product Category, UoM, UoM Category, using a custom module

  4. Dockerize Odoo-v16, and package it as part of Bahmni Standard distribution.

  5. Ensure all features available in Bahmni-Odoov10 are carried over into Odoo-v16.

  1. Odoo v16 Bahmni REST API Postman Collection:

  2. Odoo v16 overview Zoom recording:

  3. Github Repositories

    1. Odoo Module (odoo-v16):

    2. AtomFeed Sync Service:

    3. Docker Compose Setup:

  4. Odoo-v16 Shortcuts:

Jira View of Issues with Label odoo-upgrade

Board Link:

key summary type priority updated status

The Bahmni documentation is licensed under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)