# Group moves when assigning

**URL:** <https://discuss.tryton.org/t/group-moves-when-assigning/6544>\
**Category:** Developer\
**Tags:** stock\
**Created:** [September 29, 2023, 7:22am UTC](https://discuss.tryton.org/t/group-moves-when-assigning/6544 "2023-09-29T07:22:14Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![shervas](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/s/a3d4f5/32.png) [@shervas](https://discuss.tryton.org/u/shervas)\
**Post date:** [September 29, 2023, 7:22am UTC](https://discuss.tryton.org/t/group-moves-when-assigning/6544/1 "2023-09-29T07:22:14Z")

</div>

Hi,  
When the moves are assigned could be good to group them by product, from location, to location and description, shipment or more if it is required, also more keys could be added in different modules if are installed.  
By doing that, the information would be improved as would be shown cleaner and more organized and users would find it easier to manage all the moves.  
It would be difficult to implement this feature in a generic manner?  
I’m overlooking something?  
Thanks beforehand.

---

<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:** [September 29, 2023, 7:25am UTC](https://discuss.tryton.org/t/group-moves-when-assigning/6544/2 "2023-09-29T07:25:16Z")

</div>

Why do you need to group them? Normally the moves are already grouped as in the outgoing moves you create a move with the requested quantities and then they are splited just in case they are not available on the same location or diferent lots are required.

---

<div class="post-metadata">

**Author:** ![shervas](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/s/a3d4f5/32.png) [@shervas](https://discuss.tryton.org/u/shervas)\
**Post date:** [September 29, 2023, 7:42am UTC](https://discuss.tryton.org/t/group-moves-when-assigning/6544/3 "2023-09-29T07:42:08Z")

</div>

How you say, normally, is that way, but in some cases the users end up splitting moves by location reasons or other criteria, but after they get it from the same location.

---

<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:** [September 29, 2023, 7:43am UTC](https://discuss.tryton.org/t/group-moves-when-assigning/6544/4 "2023-09-29T07:43:12Z")

</div>

Then just move the shipment click on the wait button before assignint.

This will just delete an recreate the inventory moves re-grouped before assigning them.

---

<div class="post-metadata">

**Author:** ![shervas](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/s/a3d4f5/32.png) [@shervas](https://discuss.tryton.org/u/shervas)\
**Post date:** [September 29, 2023, 8:47am UTC](https://discuss.tryton.org/t/group-moves-when-assigning/6544/5 "2023-09-29T08:47:31Z")

</div>

My proposal is generic not only for Shipments. Apart, I think that this only can be done for Customer Shipments.  
Also in the case that some changes were made not according to the default values that tryton applies, doing that would result in deleting that changes that the user wants to keep.

---

<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:** [September 29, 2023, 8:48am UTC](https://discuss.tryton.org/t/group-moves-when-assigning/6544/6 "2023-09-29T08:48:48Z")

</div>

Unless you do not explain the concrete problem you want to solve we can not provide a generic solution for it.

> [@shervas](#):
>
> Also in the case that some changes were made not according to the default values that tryton applies, doing that would result in deleting that changes that the user wants to keep.

Which changes? Why they should be keep?
