# Allow to stop production work without finishing them

**URL:** https://discuss.tryton.org/t/allow-to-stop-production-work-without-finishing-them/6117
**Category:** Ideas
**Tags:** production
**Created:** [May 3, 2023, 11:15am UTC](https://discuss.tryton.org/t/allow-to-stop-production-work-without-finishing-them/6117 "2023-05-03T11:15:27Z")
**Posts on this page:** 5
**Page:** 1

<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: [May 3, 2023, 11:15am UTC](https://discuss.tryton.org/t/allow-to-stop-production-work-without-finishing-them/6117/1 "2023-05-03T11:15:31Z")

</div>

Currently, on production works there is two buttons:

1. Start → Which creates a cycle and updates the work state to ‘running’
2. Stop → Which finish the cycle and sets the work state to ‘done’.

This was discussed in [Simplify start and finish of production works](https://discuss.tryton.org/t/simplify-start-and-finish-of-production-works/2877)

But the problem is that the Stop behaviour is not always what the user wants. Sometimes the user knows that the works is still not done and he must continue working on it tomorrow (or another day).

This can be implemented by creating a new cycle in draft status, but this is not intuitive from the user point of view.

I’m wondering if it won’t be better to:

1. Rename the current stop to “Finish” so it is clear that the work will be set to done.
2. Create a new button called “Pause”, which will finish the current work and create a new draft one so the state is keep as “Waiting”.

Also, the start button should be updated to do not create a new Cyclye if draft, but just set them as running.

Does it make sense? Any better ideas?

---

<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 3, 2023, 9:23pm UTC](https://discuss.tryton.org/t/allow-to-stop-production-work-without-finishing-them/6117/2 "2023-05-03T21:23:28Z")

</div>

I guess if a pause button is added, there should be a unpause button and reuse the start button.

---

<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: [May 4, 2023, 6:39am UTC](https://discuss.tryton.org/t/allow-to-stop-production-work-without-finishing-them/6117/3 "2023-05-04T06:39:15Z")

</div>

> [@ced](#):
>
> there should be a unpause button and reuse the start button.

Could you describe the behaviour of the unpause button? What will be its usage?

---

<div class="post-metadata">

### Author: ![udono](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/udono/32/2114_2.png) [@udono](https://discuss.tryton.org/u/udono)
#### Post date: [May 4, 2023, 8:01pm UTC](https://discuss.tryton.org/t/allow-to-stop-production-work-without-finishing-them/6117/4 "2023-05-04T20:01:31Z")

</div>

Best would be IMHO a combined [play/pause-toggle-button (⏯)](https://en.wikipedia.org/wiki/Media_control_symbols) and a stop-button, as it is used everywhere.

---

<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 22, 2023, 12:33pm UTC](https://discuss.tryton.org/t/allow-to-stop-production-work-without-finishing-them/6117/5 "2023-06-22T12:33:28Z")

</div>

I’ve created [Add button to pause production works (!601) · Merge requests · Tryton / Tryton · GitLab](https://foss.heptapod.net/tryton/tryton/-/merge_requests/601) implementing this feature.
