Custom ERP for a pharma distributor
An Odoo 17 suite replacing billing software and monthly spreadsheets: purchase, stock, GST billing, field reps, cashback targets and profit.
Client: Balot Pharmaceuticals Pvt. Ltd. · Industry: Pharmaceutical distribution · Location: Kozhikode, Kerala
The challenge
The business ran on billing software plus monthly spreadsheets, so the owner and the field reps never worked from the same numbers.
What I built
- Three pharma price tiers (PTS, PTR, MRP) applied automatically from the customer's channel.
- GST tax invoices with HSN, batch and expiry, picking batches first-expiry-first.
- Field-rep self-service with cost and PTS prices hidden by record rules.
- Owner dashboard, compilation pivot report, cashback target scheme, P&L, ledgers and one-click GSTR-1 export.
- Idempotent XML-RPC import of the monthly spreadsheets.
The result
Purchase, stock, sales, GST and profit in one live system at app.balotpharma.com, built on about 5,300 lines of custom Odoo models and 8 custom reports.
My role: Designed and built the whole suite: data model, workflows, reports, dashboard, imports and deployment
Stack: Odoo 17, Python, PostgreSQL, OWL / JavaScript, QWeb, AWS EC2
Related
- A CRM with pipelines and AI lead suggestions
- Form builder that feeds the CRM and tests itself
- Shared sign-in, billing and AI across five codebases
- Odoo ERP for pharma distributors in India: what to build
- Modelling a pharma distributor in Odoo 17
- Project page
- Next case study: Training marketplace and LMS for the GCC