# Stock packages and pallet

**URL:** <https://discuss.tryton.org/t/stock-packages-and-pallet/3449>\
**Category:** Ideas\
**Tags:** stock\
**Created:** [November 12, 2020, 10:52am UTC](https://discuss.tryton.org/t/stock-packages-and-pallet/3449 "2020-11-12T10:52:18Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![maxx](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/maxx/32/2320_2.png) [@maxx](https://discuss.tryton.org/u/maxx)\
**Post date:** [November 12, 2020, 10:52am UTC](https://discuss.tryton.org/t/stock-packages-and-pallet/3449/1 "2020-11-12T10:52:18Z")

</div>

Hi,

We are doing some tests on shipment\_out with stock\_package modules (stock\_package, stock\_package\_shipping, stock\_shipment\_measurements).

When doing shipment\_out, we are using pallets to put our packages on it.

Is pallet considered as a package ? Is there a specific module for pallet (custom) ?  
Packages in Tryton are considered as containers then pallet is not really a package but we need to use it for shipment\_out with details about it (number, dimensions, ..) like for packages.

Because if pallet is considered as a package in Tryton (which would be a good thing), then we need to give some extra details (length, width, height) for shipment. PackageType has such details but you never know dimensions of the packages on the pallet (it depends the way they are putted on it).

What do you think of adding fields such length, height and width on Package model ? By default those fields will have values from PackageType, but in case of package like pallet they should be updated manually when order is packed on the pallet and user measure correct dimensions.

Thanks for suggestions!

---

<div class="post-metadata">

**Author:** ![pokoli](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/pokoli/32/22_2.png) [@pokoli](https://discuss.tryton.org/u/pokoli)\
**Post date:** [November 12, 2020, 12:41pm UTC](https://discuss.tryton.org/t/stock-packages-and-pallet/3449/2 "2020-11-12T12:41:21Z")

</div>

> [@maxx](#):
>
> Is pallet considered as a package ? Is there a specific module for pallet (custom) ?

There is the [stock\_location\_move module](https://docs.tryton.org/projects/modules-stock-location-move/en/latest/) which should be used as a pallet that can be moved inside of the warehouse. The idea is that once you receive a pallet, you create a new location and put all the received produts on it. Then you can move the location (aka pallet) and all the products of this location will be moved to the location. If you remove products from the pallet you use the movable location (aka pallet) as source of the move. If you add just use it as destination.

But this is only usefull if you want to manage the movement of pallets inside the warehouse.  
If you want to track the pallets that are sent to the customer (or carrier) then you should consider using packages by creating a type of carrier.

> [@maxx](#):
>
> PackageType has such details but you never know dimensions of the packages on the pallet (it depends the way they are putted on it).

Do you think it can computed someway? Or it should be always defined manually?

> [@maxx](#):
>
> What do you think of adding fields such length, height and width on Package model ?

Maybe we can add a “variable” checkbox on the package type which allows to define a measure on the package. Does this it make sense for you?

---

<div class="post-metadata">

**Author:** ![maxx](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/maxx/32/2320_2.png) [@maxx](https://discuss.tryton.org/u/maxx)\
**Post date:** [November 12, 2020, 12:51pm UTC](https://discuss.tryton.org/t/stock-packages-and-pallet/3449/3 "2020-11-12T12:51:13Z")

</div>

We are in the case to track pallets sent to the customer. We are taking a pallet, putting products from different locations in packages and then putting them on the pallet.

> [@pokoli](#):
>
> Do you think it can computed someway? Or it should be always defined manually?

Each pallet is different (different packages, the number of packages, the way they are positioned,…), so for me is should be always defined manually (maybe we could consider the width and the length by default).

> [@pokoli](#):
>
> Maybe we can add a “variable” checkbox on the package type which allows to define a measure on the package. Does this it make sense for you?

Could be a solution 🙂

---

<div class="post-metadata">

**Author:** ![pokoli](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/pokoli/32/22_2.png) [@pokoli](https://discuss.tryton.org/u/pokoli)\
**Post date:** [November 12, 2020, 1:23pm UTC](https://discuss.tryton.org/t/stock-packages-and-pallet/3449/4 "2020-11-12T13:23:35Z")

</div>

> [@maxx](#):
>
> Each pallet is different (different packages, the number of packages, the way they are positioned,…), so for me is should be always defined manually (maybe we could consider the width and the length by default).

But we should have some constraints on it. For example if we have a package of 50cm height on a pallet it should not be possible to set the pallet height to less that 50cm.

And also we should define somewhere which mesaures are required to be entered by the user to be able to sent the package. Otherwise we can end up with packages without measures

---

<div class="post-metadata">

**Author:** ![maxx](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/maxx/32/2320_2.png) [@maxx](https://discuss.tryton.org/u/maxx)\
**Post date:** [November 12, 2020, 1:37pm UTC](https://discuss.tryton.org/t/stock-packages-and-pallet/3449/5 "2020-11-12T13:37:05Z")

</div>

> [@pokoli](#):
>
> But we should have some constraints on it. For example if we have a package of 50cm height on a pallet it should not be possible to set the pallet height to less that 50cm.

Indeed, but once again it depends on how the package is placed on the palet (i mean your package could have an height of 50cm, a length of 80cm… if the user put the package vertically on the pallet, the height is now 80cm…)

> [@pokoli](#):
>
> And also we should define somewhere which mesaures are required to be entered by the user to be able to sent the package. Otherwise we can end up with packages without measures

I think all measures should be required. And by default, package will have measures of package\_type. Or you define on package\_type, which measure is required by type…

---

<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:** [November 12, 2020, 5:00pm UTC](https://discuss.tryton.org/t/stock-packages-and-pallet/3449/6 "2020-11-12T17:00:46Z")

</div>

So indeed for a pallet only the height is unknown (there are probably a maximum).  
I think the best would be to add dimensions on the package type and leave empty those that are “dynamic”. In case a package has a type with dynamic dimension, it shows a field to enter it.  
There maybe some configuration to make a dimension required or not per type.

---

<div class="post-metadata">

**Author:** ![maxx](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/maxx/32/2320_2.png) [@maxx](https://discuss.tryton.org/u/maxx)\
**Post date:** [November 18, 2020, 2:09pm UTC](https://discuss.tryton.org/t/stock-packages-and-pallet/3449/7 "2020-11-18T14:09:33Z")

</div>

> **[Update dimensions on package for shipment\_out (#9846) · Issues · Tryton /...](https://foss.heptapod.net/tryton/tryton/-/issues/9846)**
>
> Following discuss https://discuss.tryton.org/t/stock-packages-and-pallet/3449 This feature gets dimensions from package\_type and allows to update them on package. Useful when package is a...
