Integrating EasyParcel with Odoo
Connect Odoo to EasyParcel to fetch live courier rates and create shipments from the website checkout and from sales orders.
Benefits
Live rates from several couriers (Aramex, J&T, DHL eCommerce, Lazada Express, City-Link, Celsius and others) appear in one place.
Customers see the shipping cost at website checkout.
Staff can compare couriers on a sales order and pick the cheapest or fastest.
Margins can be added on top of the rate (percentage or fixed RM amount).
Free shipping can be set above an order-value threshold.
Easy to follow step by step guide
Create the delivery method.
Go to Delivery Methods and add one named "EasyParcel", with the provider set to EasyParcel.
Think of it as adding a new "shipping counter" to your shop.


Reference Image for Steps 2,3,4 and 5 configuration.
Set the integration level.
"Get Rate" only quotes prices.
"Get Rate and Create Shipment" also books the parcel.
Choose between asking the courier for a price and actually handing over the parcel.
Enter the API key.
Paste your EasyParcel API key.
The key is the password that lets Odoo talk to your EasyParcel account.
Set pricing rules.
Margin on Rate: 0% in the example.
Additional margin: RM 0.00 in the example.
Free if the order is above a set amount.
Invoicing Policy: estimated cost or real cost.
This is your markup, your free-shipping rule, and whether you bill the quoted price or the final one.
Set the product weight.
Each product needs a weight under Inventory > Logistics (for example, 0.10 kg).
Without it, checkout shows the error "estimated price cannot be computed because the weight of your product is missing."

Couriers price by weight, so Odoo must know how heavy the parcel is.
Use it on the website.
At Review Order > Delivery > Payment, the customer picks EasyParcel and then a courier service.
The cost is added to the order summary. In the example, delivery of RM 29.70 plus a subtotal of RM 107.70 gives a total of RM 107.70.

Use it on a sales order.
Click "Add a shipping method", choose EasyParcel, and click "Get rate".
For a 3.00 kg order the example returns rates such as J&T RM 5.93, Lazada RM 5.99, DHL eCommerce RM 6.19 and Aramex RM 12.10.
Click "Set Service" on one. The order gets a "[Delivery] EasyParcel" line showing the chosen carrier.
Use "Update shipping cost" if the order changes.


Conclusion
With Odoo, courier quoting, customer checkout and sales orders all share one shipping setup. Once weights and the API key are correct, shipping costs are calculated automatically and staff don't need to look up rates by hand.




Comments