Odoo ERP for pharma distributors in India: what to build
By Hifsul · 2026-11-19 · 3 min read
Many pharma distributors in India run on billing software plus a stack of monthly spreadsheets. It works until the owner and the field reps start arguing about which numbers are right, stock expires on the shelf, and month-end becomes a week of reconciling. I built a custom Odoo 17 ERP for Balot Pharmaceuticals, a distributor in Kozhikode, that replaced both the billing software and the spreadsheets. This is a guide to what a distributor actually needs from an ERP, and where Odoo fits.
Why Odoo, and why custom on top of it
Accounting, stock and invoicing are solved problems. Odoo 17 handles them well, so there is no reason to build them from scratch. What a pharma distributor needs that stock Odoo does not have is specific: pharma pricing tiers, batch and expiry discipline, GST documents in the exact format the trade expects, and field reps who see only what they should. That is where custom models go. In this project, that came to about 5,300 lines of custom Odoo models across 25 model files and 8 custom reports.
PTR, PTS and MRP without anyone choosing
Every pharma product carries three prices: PTS (price to stockist), PTR (price to retailer) and MRP for consumers. If billing staff have to pick the right price each time, mistakes are guaranteed. Instead, each customer belongs to a price channel, and the right price is applied automatically when the invoice is made. Fewer choices at billing time means fewer errors and fewer credit notes.
FEFO batches, not just stock counts
A distributor does not have "100 strips" of a product; it has several batches with different expiry dates. Stock has to be tracked by batch, and invoices should pick batches first-expiry-first-out (FEFO), so the oldest stock leaves first. Near-expiry and low-stock reports then sit on the same data, which turns expiry from a surprise into something you can act on weeks ahead.
GST that is built in, not exported and fixed
- A GST tax invoice with HSN code, batch and expiry on every line, alongside PTR, PTS and MRP.
- One-click GSTR-1 export.
- Ledgers and P&L.
- Distributor closing stock and stock-and-sales statements.
For a distributor these reports are the daily output, so they were built as proper wizards and QWeb reports inside Odoo, not as spreadsheet exports someone fixes by hand later.
Field reps in the same system, with limits
Field reps need a self-service view of their own customers, doctors, targets and visits. They should never see cost or PTS prices. Hiding a field in the interface is not enough, because a changed view can show it again. In Odoo, record rules enforce visibility on the server, so a rep simply cannot read data outside their role. The same system also runs a cashback target scheme.
An owner dashboard that answers real questions
The owner gets a live dashboard and a compilation report that pivots sales by brand, rep, area, channel and month. When everyone works in one system, the question "which rep is behind target in which area this month" has one answer instead of three spreadsheets.
Migrating years of spreadsheets safely
Historic data usually arrives as monthly spreadsheets in slightly different formats. The import here runs over XML-RPC and is idempotent: running it again updates existing records instead of creating duplicates. That one property removes most of the fear from migration, because a failed or partial import can simply be run again.
Questions to answer before you start
- Which price tiers do you use, and how is each customer assigned to one?
- Do you track stock by batch and expiry today, or only by quantity?
- Which GST reports do you file and in what format?
- What should field reps see and do, and what must they never see?
- Where does your historic data live, and how many years do you need?
- Which reports does the owner check every day?
Clear answers to these make the difference between an ERP people use and one they work around. You can score your own readiness with the free check at hifsul.com/tools/erp-readiness.
What I would do for you
If you run a pharma or similar distribution business in India, I design and build the Odoo setup around how you actually trade: price channels, batches, GST reports, field reps, dashboards and a safe import of your existing data, delivered in milestones with a written scope. The Balot system is live at app.balotpharma.com. Take the ERP readiness check, then message me on WhatsApp at wa.me/919019566963 or see hifsul.com/hire.