# Reschedule past shipments

**URL:** https://discuss.tryton.org/t/reschedule-past-shipments/7351
**Category:** Ideas
**Tags:** stock
**Created:** [June 3, 2024, 9:07am UTC](https://discuss.tryton.org/t/reschedule-past-shipments/7351 "2024-06-03T09:07:00Z")
**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: [June 3, 2024, 9:07am UTC](https://discuss.tryton.org/t/reschedule-past-shipments/7351/1 "2024-06-03T09:07:00Z")

</div>

Hi,

For now, only customer shipments in ‘waiting’ state are rescheduled. Wondering if other states of shipment (‘picked’, ‘packed’, ‘shipped’) should also be recomputed as could take a long time for ending the shipment (as mentioned in this issue: [Add shipped state to customer shipment (#13150) · Issues · Tryton / Tryton · GitLab](https://foss.heptapod.net/tryton/tryton/-/issues/13150) ) and then we have a shipment planned date in the past. (could be a problem for quantity issue module)

What are the consequences to add other shipment states in the reschedule domain ?  
Thanks.

---

<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 3, 2024, 4:13pm UTC](https://discuss.tryton.org/t/reschedule-past-shipments/7351/2 "2024-06-03T16:13:10Z")

</div>

For me the reschedule should only do what a user could do.  
For now a user can not change the planned date of a shipment once it is picked.  
So maybe we should allow to edit the planned date after the waiting state as long as it is not before the date of one of its done move. In this case I think the tasks could update also non-finished shipments.

---

<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: [June 3, 2024, 4:21pm UTC](https://discuss.tryton.org/t/reschedule-past-shipments/7351/3 "2024-06-03T16:21:05Z")

</div>

This sounds like this proposal:

> **[Allow user to edit planned date on waiting shipments (#11542) · Issues ·...](https://foss.heptapod.net/tryton/tryton/-/issues/11542)**
>
> Since #9264 the systems reschedules the past waiting shipments,...

Which was not accepeted.

---

<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: [June 4, 2024, 7:14am UTC](https://discuss.tryton.org/t/reschedule-past-shipments/7351/4 "2024-06-04T07:14:11Z")

</div>

> [@pokoli](#):
>
> Which was not accepeted.

Never say never 😉 Should i create a new issue ?

---

<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 4, 2024, 7:23am UTC](https://discuss.tryton.org/t/reschedule-past-shipments/7351/5 "2024-06-04T07:23:30Z")

</div>

My [comment](https://foss.heptapod.net/tryton/tryton/-/issues/11542#note_271901) is still valid so the issue could be re-open if someone has a better solution than just make the fields writable.  
Maybe it could be done with a wizard like the Modify Header on sale and purchase.

---

<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: [June 4, 2024, 7:49am UTC](https://discuss.tryton.org/t/reschedule-past-shipments/7351/6 "2024-06-04T07:49:54Z")

</div>

> [@ced](#):
>
> Maybe it could be done with a wizard like the Modify Header on sale and purchase.

What is the benefit of having a wizard?  
In sale and purchase the wizard is needed to recompute the lines data, but in the shipment the planned date is already written to moves when the shipment is updated. So for me it will just add some extra complexity.

---

<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: [September 20, 2024, 12:59pm UTC](https://discuss.tryton.org/t/reschedule-past-shipments/7351/7 "2024-09-20T12:59:43Z")

</div>

> **[Extend domain to reschedule not yet done shipment (!1790) · Merge requests ·...](https://foss.heptapod.net/tryton/tryton/-/merge_requests/1790)**
>
> Closes #13536
