# Production with many outputs so late to get done

**URL:** https://discuss.tryton.org/t/production-with-many-outputs-so-late-to-get-done/5992
**Category:** Developer
**Tags:** production
**Created:** [March 2, 2023, 12:55pm UTC](https://discuss.tryton.org/t/production-with-many-outputs-so-late-to-get-done/5992 "2023-03-02T12:55:32Z")
**Posts on this page:** 4
**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: [March 2, 2023, 12:55pm UTC](https://discuss.tryton.org/t/production-with-many-outputs-so-late-to-get-done/5992/1 "2023-03-02T12:55:32Z")

</div>

Hi,  
I tried to finalize a production with 400 outputs and I realized that in version 6.0, it takes so long that an error is thrown, I supposed that for a timeout and the production doesn’t pass into state done. From version 6.2 onwards, doesn’t happen and it gets done so quick.  
Someone know which was the commit or thing that changed in the code to fix that???  
I found the following commit and applied it to my code but doesn’t fix it.

> **[Save less often cost values when doing move (12947abae57e) · Commits · Tryton...](https://foss.heptapod.net/tryton/tryton/-/commit/12947abae57efdbf00d5076a5af76ff38af6d6b4)**
>
> We can save the cost values only when a cost value was computed for a product already moved. Also FIFO requires to save extra moves which can be included in...

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: [March 2, 2023, 4:22pm UTC](https://discuss.tryton.org/t/production-with-many-outputs-so-late-to-get-done/5992/2 "2023-03-02T16:22:30Z")

</div>

It will be easier if you just upgrade to newer series. Upgrade to new versions is fully supported you just need to follow migration steps which can be found in the [migration category](https://discuss.tryton.org/c/migration/6).

---

<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: [March 3, 2023, 6:49am UTC](https://discuss.tryton.org/t/production-with-many-outputs-so-late-to-get-done/5992/3 "2023-03-03T06:49:43Z")

</div>

Okayy, thanks for the help!

---

<div class="post-metadata">

### Author: ![system](https://discuss-cdn.tryton.org/uploads/default/original/1X/c6f8ec0a40525cdcd50058c734283450a4b3d38b.png) [@system](https://discuss.tryton.org/u/system)
#### Post date: [April 2, 2023, 6:49am UTC](https://discuss.tryton.org/t/production-with-many-outputs-so-late-to-get-done/5992/4 "2023-04-02T06:49:53Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
