MPL Shipping Integration - Magyar Posta Connector (PostaPont, Parcel Locker, Post Office)
by Modvanta$ 58.83

Magyar Posta MPL integration for Odoo 19
Send MPL parcels from Odoo: home delivery, PostaPont, parcel locker or post office.
Validate a delivery order and Odoo sends the shipment to the MPL API, saves the label, closes the posting list at the end of the day and follows each parcel until it is delivered.
What it does
Magyar Posta publishes the MPL API for business customers with a parcel contract. On the MPL developer portal you create an application and get an API key and API secret; your customer code (vevokod) and the 8 digit agreement code come from your contract. Enter them on an MPL delivery method in Odoo, choose sandbox or production and press Test Connection. Odoo asks for an OAuth2 token and keeps it until it runs out.
Each delivery method is one MPL product and delivery mode: MPL Business Parcel or Postal Parcel, to the door, to a post office, to a PostaPont or to a parcel locker. For the last three, the checkout pick-up point button lists the points MPL returns for the customer postcode, and the choice travels from the order to the transfer.
When the transfer is validated, Odoo sends the sender with the agreement and bank account, the customer address (always the real one, also for pick-up points), one item per package with the weight in grams and the extra services you ticked: cash on delivery, declared value, fragile, Saturday delivery, own hands, next working day, return receipt or bulky. Weights over the MPL limit for that delivery mode, a missing locker size or COD above 500,000 HUF on a locker are stopped in Odoo first.
At the end of the day select the shipments and press MPL Close List. MPL returns the delivery note, the posting list and the postage of each parcel; Odoo saves them on a posting list record and on each transfer. Until then a shipment can still be deleted.
Who it is for
| Hungarian webshops that ship with Magyar Posta under an MPL contract. | |
| Shops offering PostaPont and parcel locker pick-up next to home delivery. | |
| Warehouses that hand over a closed posting list to the post every day. |
Key features
Screens from a test database using the built-in demo MPL account with invented pick-up points. No real MPL account was contacted. The checkout map loads from the map provider in a live shop; it was blocked on the test machine, so only the list shows.
MPL delivery method
API key and secret, customer code, agreement code and bank account, product, delivery mode, label layout, extra services and prices.
| The API key, secret and token are readable by system administrators only and masked in the API log |

Pick-up points at checkout
The Odoo pick-up point dialog shows the parcel lockers, PostaPonts or post offices MPL finds for the delivery postcode.

Pick-up point on the quotation
Orders taken by phone get the point on the quotation; it is copied to the transfer.

Shipment and label
The MPL tracking number becomes the tracking reference, the package numbers and the label are saved, and an address warning from MPL shows with the suggested address.
| Label layouts A5, 2 x A5 on A4, A6, 4 x A6 on A4, A4, 10 x 10 cm roll, as PDF or ZPL |

Tracking history
Every MPL event with its date. Odoo checks every four hours, the interval MPL recommends, and stops once the parcel is delivered.
All MPL shipments
Print the labels of the selected shipments in one file, close the posting list or update tracking. Filters for shipments not on a list yet and for address warnings.

Posting list
The closed list with its shipments, the postage MPL calculated and the PDF files to hand over with the parcels.

API log
Each MPL call with its answer for system administrators; label files are shortened.

How it works
| 1 | Credentials. Register on the MPL developer portal, create a production application and copy the API key and secret. Your customer code and agreement code are in your MPL contract. |
| 2 | Delivery method. Inventory > Configuration > Delivery Methods: provider MPL (Magyar Posta), fill in the codes, pick the product and delivery mode, Test Connection. |
| 3 | Services and prices. Tick the extra services you use and set a fixed price or a price table. |
| 4 | Ship. Validate the delivery order: the shipment and label are created. |
| 5 | Close the day. In MPL Shipments select the open shipments and press MPL Close List. |
Settings
| MPL Environment | Sandbox while testing, production after go-live; the codes differ per environment. |
| MPL Customer Code / Agreement Code | Vevokod and the 8 digit megallapodaskod from your contract. |
| MPL Bank Account | 16 or 24 digits; MPL pays collected cash on delivery to it. |
| MPL Service | MPL Business Parcel (A_175_UZL) or MPL Postal Parcel (A_177_MPC). |
| MPL Delivery | Home delivery, post office, PostaPont, parcel locker or pallet. |
| MPL Retention | 0, 5 or 10 working days at the pick-up point. |
| MPL Extra Services | COD with payout by transfer or cash, declared value, fragile, Saturday, own hands, next working day, return receipt, bulky. |
| MPL Label Type | Layout and PDF or ZPL. |
| MPL Price | Fixed price or table by delivery mode and weight; free over an amount. |
FAQ
Do I need an MPL contract?
Yes. The MPL API needs a parcel contract with Magyar Posta and a registration on the developer portal.
Does it show live MPL rates?
The MPL API has no rate call. Odoo uses your price or price table; the postage MPL calculates comes back when you close the list.
Which weight limits apply?
Business Parcel: 40 kg to the door, 30 kg to a post office, 20 kg to a PostaPont or locker. Postal Parcel: 10 kg, door only. Odoo checks them.
Can I delete a shipment?
Yes, until it is on a closed posting list.
Can I try it first?
Turn on MPL Demo Mode on a delivery method: a pretend account answers and nothing is sent.
Compatibility and support
Odoo 19 Community and Enterprise. Depends on Inventory, Sales and Delivery (stock_delivery); the checkout pick-up point selector works with eCommerce (website_sale). MPL API v2.
Questions before or after you buy: modvantaapps@gmail.com. We answer setup questions and fix bugs.
Buy Now - $59Odoo 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