India Courier Base - Shipping Integration Framework
by Modvanta https://modvantaapps.tech/odoo-apps/india-courier-base/
The shared foundation for Indian courier integrations in Odoo
A free framework that Indian courier connectors plug into: AWB and shipment status on the delivery order, tracking events, shipping labels, Cash on Delivery detection, cached pincode serviceability, pickup requests and a full API log with secrets masked.
Written and supported by Modvanta - modvantaapps@gmail.com
What it does
Every Indian courier integration needs the same pieces around the courier's own API: is this pincode serviceable, is the order Cash on Delivery and for how much, where is the AWB and the label, what is the latest tracking scan, and what exactly did we send to the courier when something went wrong.
India Courier Base provides those pieces once, on top of Odoo's standard delivery method framework. A courier connector only implements the calls to its own API; the base stores and shows the results, logs every call, normalizes the shipment status and syncs tracking every hour.
On its own the module adds no courier. Install it with a courier connector built on it. The screenshots on this page use a demo courier created only for the test bench, answering from canned data.
Who it is for
Indian online sellers Couriers that behave the same way in Odoo: status, tracking, labels, COD. | Warehouse teams AWB, label, courier status and scans on the delivery order itself. | Developers A documented contract (CONTRACT.md) to plug a new courier in with a few hooks. |
Key features
All screenshots were taken on Odoo 19 with this module and a bench-only demo courier on a clean demo database (company Northwind Trading Co, warehouse in Mumbai, sample customers Anita Rao and Karan Iyer). No real courier account was used.
Feature 1
India Courier settings on the delivery method
Pincode check at checkout, hiding the method when COD is not available, the payment providers that mean Cash on Delivery, default package dimensions, minimum weight and API timeout. Stat buttons open the API logs and the pincode check.

Feature 2
Check a pincode
Inventory -> Indian Couriers -> Check Pincode: 194101 is serviceable, prepaid only, with the courier's own message and whether the answer came from the cache.

Feature 3
Pincode serviceability cache
Answers are cached per pincode and delivery method - serviceable, prepaid, COD, message, checked at - so checkout does not call the courier for every visitor.

Feature 4
AWB, label and status on the delivery order
Validating the delivery booked it with the courier: the AWB is the tracking reference, the label is attached, and Refresh Tracking and Print Label buttons appear. Status changes are tracked in the chatter.

Feature 5
Tracking events
The Courier Tracking tab lists every scan with time, location and status - Booked, Picked up, In Transit - mapped to a normalized status.
Feature 6
All courier shipments
Inventory -> Indian Couriers -> Courier Shipments: AWB, normalized status, the courier's raw status and the last sync, with filters for shipments in progress and RTO or exceptions.

Feature 7
API log with secrets masked
Every call is logged with endpoint, method, HTTP status, duration, request and response. The Authorization header and the api_key in the body are masked.

Feature 8
Request a pickup
Request Pickup on a booked shipment opens a wizard with the pickup date and time and the shipments; the courier's pickup reference is stored on the transfer.

Feature 9
Cash on Delivery detected
An unpaid order is shipped as Cash on Delivery with the amount to collect computed from the order. Payment Collection can be forced to COD or prepaid per transfer.

Feature 10
Settings
Inventory settings, Indian Couriers: email the customer when the shipment is shipped, out for delivery and delivered; pincode cache duration; API log retention.

How it works, step by step
| 1 | Install the base with a courier connector The connector depends on India Courier Base. |
| 2 | Configure the delivery method Credentials in the connector, then the India Courier tab: pincode check, COD providers, default package. |
| 3 | Ship as usual Validating a delivery books it: AWB, label and status are stored on the transfer. |
| 4 | Follow up Tracking syncs every hour; pickups, labels and the API log are one click away. |
Settings
On each delivery method (India Courier tab) and in the Inventory settings.
| Check Pincode Serviceability | Ask the courier (cached) before offering the method; an unreachable courier API never blocks a sale. |
| Hide When COD Unavailable | Also hide the method when the pincode is prepaid-only. |
| COD Payment Providers / Ship Unpaid Orders as COD | Which payments mean Cash on Delivery, and whether unpaid orders ship as COD. |
| Default Package, Minimum Weight | Dimensions and weight sent when the transfer has none. |
| Customer Notifications | Email the customer at shipped, out for delivery and delivered. |
| Pincode Cache, API Log Retention | How long pincode answers are kept and when old API logs are deleted. |
Frequently asked questions
Does this module ship parcels on its own?
No. It is the shared base; a courier connector built on it does the API calls. The screenshots use a bench-only demo courier.
Is it really free?
Yes. It is the common foundation of the courier connectors.
Are API keys stored in the logs?
No. Secret keys and the connector's secret values are masked in headers, bodies and query strings, as the API log screenshot shows.
What if the courier API is down at checkout?
The delivery method stays available, so an outage never blocks sales.
How do I add another courier?
Follow CONTRACT.md in the module: a delivery type and a few named hooks.
Compatibility
Odoo 19 Community and Enterprise | Depends on Inventory (stock_delivery), Discuss | Tested 42 automated tests |
One foundation for every Indian courier
Questions before you buy, help with setup, or a change for your own workflow - write to us and a developer answers.
SUPPORT | AUTHOR Modvanta | INCLUDED Module, developer contract, help by email |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Discuss (mail)
• Invoicing (account) • Inventory (stock) |
| Lines of code | 1709 |
| Technical Name |
mdv_india_courier_base |
| License | OPL-1 |
| Website | https://modvantaapps.tech/odoo-apps/india-courier-base/ |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module