# About 'stock\_package\_shipping\_dpd'

**URL:** https://discuss.tryton.org/t/about-stock-package-shipping-dpd/8540
**Category:** Message Board
**Created:** [April 29, 2025, 1:29pm UTC](https://discuss.tryton.org/t/about-stock-package-shipping-dpd/8540 "2025-04-29T13:29:00Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![2cadz](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/2cadz/32/130_2.png) [@2cadz](https://discuss.tryton.org/u/2cadz)
#### Post date: [April 29, 2025, 1:29pm UTC](https://discuss.tryton.org/t/about-stock-package-shipping-dpd/8540/1 "2025-04-29T13:29:00Z")

</div>

One of my customers would like to implement interconnection with DPD WebService. Perfect, a standard module exists for this: `stock_package_shipping_dpd`. After a few checks, it would seem (according to DPD France) that the implementation would be for DPD Germany, bad luck my customer is French and of course the WebService for French customers is not the same ☹

Maybe it should be indicated somewhere.

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [April 29, 2025, 2:04pm UTC](https://discuss.tryton.org/t/about-stock-package-shipping-dpd/8540/2 "2025-04-29T14:04:23Z")

</div>

See [Anyone using the DPD shipment module successfully?](https://discuss.tryton.org/t/anyone-using-the-dpd-shipment-module-successfully/8461)

---

<div class="post-metadata">

### Author: ![edbo](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/e/f14d63/32.png) [@edbo](https://discuss.tryton.org/u/edbo)
#### Post date: [April 29, 2025, 2:33pm UTC](https://discuss.tryton.org/t/about-stock-package-shipping-dpd/8540/3 "2025-04-29T14:33:16Z")

</div>

I had to change 3 links in the code to make it work.

- the loginservice (you can find this in `configuration.py`)
- creating shipments (you can find this in `configuration.py`)
- track-and-trace url (you can find this in `stock.py`)

For now I have made the changes in the module itself and after the changes everything works like expected.

---

<div class="post-metadata">

### Author: ![2cadz](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/2cadz/32/130_2.png) [@2cadz](https://discuss.tryton.org/u/2cadz)
#### Post date: [April 29, 2025, 4:10pm UTC](https://discuss.tryton.org/t/about-stock-package-shipping-dpd/8540/4 "2025-04-29T16:10:25Z")

</div>

Thank you for your feedback.

It seems to me that for France the changes will be more important.

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [April 29, 2025, 9:17pm UTC](https://discuss.tryton.org/t/about-stock-package-shipping-dpd/8540/5 "2025-04-29T21:17:44Z")

</div>

As I already said, it will be good to update the module to include the configurations.

> [@2cadz](#):
>
> It seems to me that for France the changes will be more important.

Where is the documentation?

---

<div class="post-metadata">

### Author: ![2cadz](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/2cadz/32/130_2.png) [@2cadz](https://discuss.tryton.org/u/2cadz)
#### Post date: [April 30, 2025, 4:32am UTC](https://discuss.tryton.org/t/about-stock-package-shipping-dpd/8540/6 "2025-04-30T04:32:58Z")

</div>

> [@ced](#):
>
> As I already said, it will be good to update the module to include the configurations.

Yes, I did see that 🙂

> [@ced](#):
>
> Where is the documentation?

[WebService étiquetage DPD France - GeoLabel.pdf](https://discuss.tryton.org/uploads/short-url/lLYS4uFjFymcc6SmK8yTpmj90ZH.pdf) (1,0 Mo)

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [April 30, 2025, 6:34am UTC](https://discuss.tryton.org/t/about-stock-package-shipping-dpd/8540/7 "2025-04-30T06:34:13Z")

</div>

Indeed it is a complete different API. So it will probably simpler to create a new module.  
Another option is to use Sendcloud.

---

<div class="post-metadata">

### Author: ![2cadz](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/2cadz/32/130_2.png) [@2cadz](https://discuss.tryton.org/u/2cadz)
#### Post date: [April 30, 2025, 6:52am UTC](https://discuss.tryton.org/t/about-stock-package-shipping-dpd/8540/8 "2025-04-30T06:52:14Z")

</div>

My customer contacted DPD France directly, so I think a new module would be more appropriate. However, it’s still in version 6.0 (migration is envisaged but not at all planned). I’m waiting for his reply to see if he wants to finance this development.

---

<div class="post-metadata">

### Author: ![2cadz](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/2cadz/32/130_2.png) [@2cadz](https://discuss.tryton.org/u/2cadz)
#### Post date: [April 30, 2025, 7:20am UTC](https://discuss.tryton.org/t/about-stock-package-shipping-dpd/8540/9 "2025-04-30T07:20:26Z")

</div>

If we were to create a new module, what name would be most appropriate: `stock_package_shipping_dpd_fr`?

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [April 30, 2025, 7:25am UTC](https://discuss.tryton.org/t/about-stock-package-shipping-dpd/8540/10 "2025-04-30T07:25:49Z")

</div>

I think it will be better to avoid country bound as we already see the current DPD implementation works for different countries. Here I think `stock_package_shipping_cargonet` seems more accurate.

---

<div class="post-metadata">

### Author: ![2cadz](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/2cadz/32/130_2.png) [@2cadz](https://discuss.tryton.org/u/2cadz)
#### Post date: [May 27, 2025, 6:50am UTC](https://discuss.tryton.org/t/about-stock-package-shipping-dpd/8540/11 "2025-05-27T06:50:08Z")

</div>

I’ve got the customer’s agreement to develop the module, and I’ll be starting in the 2nd week of June.

To add this module to the list of official modules, do I have to go through a blue print? Or can I directly create a new topic on Heptapod?

I know that this module (if accepted) will be for the next version, but my client is still in version 6.0, so there’s bound to be a version 6.0. Is there a place where I can make this version available?

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [May 27, 2025, 8:39am UTC](https://discuss.tryton.org/t/about-stock-package-shipping-dpd/8540/12 "2025-05-27T08:39:39Z")

</div>

> [@2cadz](#):
>
> To add this module to the list of official modules, do I have to go through a blue print? Or can I directly create a new topic on Heptapod?

As it is just a derived module from the `stock_package_shipping*` familly, I think you can start directly with an implementation as long as it follows the same design as the other modules.

> [@2cadz](#):
>
> I know that this module (if accepted) will be for the next version, but my client is still in version 6.0, so there’s bound to be a version 6.0. Is there a place where I can make this version available?

We do not have such place, but you can publish this version yourself.  
Indeed at B2CK we often develop new modules (or feature) that are indeed backported on custom module to older series. I would strongly suggest to first implement in trunk and once it is finalized (or almost) you make a backport version for the series 6.0. This ensures that the latest tools are used for the official version and minimize for you the backport work.

---

<div class="post-metadata">

### Author: ![2cadz](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/2cadz/32/130_2.png) [@2cadz](https://discuss.tryton.org/u/2cadz)
#### Post date: [June 12, 2025, 6:32am UTC](https://discuss.tryton.org/t/about-stock-package-shipping-dpd/8540/13 "2025-06-12T06:32:58Z")

</div>

If I were to add relay point distribution services. Should I do this in this module or add another module, e.g. ‘stock\_package\_shipping\_cargonet\_pickup’?

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [June 12, 2025, 7:12am UTC](https://discuss.tryton.org/t/about-stock-package-shipping-dpd/8540/14 "2025-06-12T07:12:23Z")

</div>

I’m pretty sure it requires a general review of all the `stock_package_shipping` modules.

---

<div class="post-metadata">

### Author: ![2cadz](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/2cadz/32/130_2.png) [@2cadz](https://discuss.tryton.org/u/2cadz)
#### Post date: [June 17, 2025, 9:32am UTC](https://discuss.tryton.org/t/about-stock-package-shipping-dpd/8540/15 "2025-06-17T09:32:24Z")

</div>

I didn’t see in the other “stock\_package\_shipping\_\*” modules the possibility of cancelling labels when it is possible to cancel shipping.

Can I do this in this module?

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [June 17, 2025, 10:45am UTC](https://discuss.tryton.org/t/about-stock-package-shipping-dpd/8540/16 "2025-06-17T10:45:47Z")

</div>

Usually we do not care about cancelling a label because carrier invoice only when label is actually used on a package shipped.

---

<div class="post-metadata">

### Author: ![2cadz](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/2cadz/32/130_2.png) [@2cadz](https://discuss.tryton.org/u/2cadz)
#### Post date: [June 17, 2025, 1:03pm UTC](https://discuss.tryton.org/t/about-stock-package-shipping-dpd/8540/17 "2025-06-17T13:03:35Z")

</div>

In the specific case of DPD France, if the carrier does not collect the parcel, charges may apply. For this reason I think it is wiser to cancel the label.

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [June 17, 2025, 1:05pm UTC](https://discuss.tryton.org/t/about-stock-package-shipping-dpd/8540/18 "2025-06-17T13:05:13Z")

</div>

So I guess it should be first implemented to all modules.

---

<div class="post-metadata">

### Author: ![dotbit](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/dotbit/32/2093_2.png) [@dotbit](https://discuss.tryton.org/u/dotbit)
#### Post date: [June 17, 2025, 3:56pm UTC](https://discuss.tryton.org/t/about-stock-package-shipping-dpd/8540/19 "2025-06-17T15:56:15Z")

</div>

Usualy they also have a web interface. I use the web interface for my carrier to delete any wrong labels and then correct it manually in tryton. Sure it is nice to be able to cancel in Tryton, but I think it adds complexity.

---

<div class="post-metadata">

### Author: ![2cadz](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/2cadz/32/130_2.png) [@2cadz](https://discuss.tryton.org/u/2cadz)
#### Post date: [June 17, 2025, 4:48pm UTC](https://discuss.tryton.org/t/about-stock-package-shipping-dpd/8540/20 "2025-06-17T16:48:35Z")

</div>

Yes, certainly in the case of a small number of parcels, but beyond a dozen or so I think the added complexity is outweighed by the time saved.

Having said that, I’m not going to get into it just yet (for all the shipping modules)

[Next page](https://discuss.tryton.org/t/about-stock-package-shipping-dpd/8540.md?page=2)
