Tryton - Issues

 

Issue8887

Title Works are duplicated when duplicating a production
Priority bug Status resolved
Superseder Nosy List pokoli, reviewbot, roundup-bot
Type behavior Components production_work
Assigned To pokoli Keywords review
Reviews 272591002
View: 272591002

Created on 2019-12-02.09:45:54 by pokoli, last changed by roundup-bot.

Messages
New changeset 384da858827b by Sergi Almacellas Abellana in branch '5.4':
Clear works when copying productions
https://hg.tryton.org/modules/production_work/rev/384da858827b

New changeset 8715080e5f2e by Sergi Almacellas Abellana in branch '5.2':
Clear works when copying productions
https://hg.tryton.org/modules/production_work/rev/8715080e5f2e

New changeset 5f66d489a215 by Sergi Almacellas Abellana in branch '5.0':
Clear works when copying productions
https://hg.tryton.org/modules/production_work/rev/5f66d489a215
New changeset ccfd747de63b by Sergi Almacellas Abellana in branch 'default':
Clear works when copying productions
https://hg.tryton.org/tryton-env/rev/ccfd747de63b
New changeset dfa96fcc9f16 by Sergi Almacellas Abellana in branch 'default':
Clear works when copying productions
https://hg.tryton.org/modules/production_work/rev/dfa96fcc9f16
review272591002 updated at https://codereview.tryton.org/272591002/#ps258511002
review272591002 updated at https://codereview.tryton.org/272591002/#ps258501002
msg53774 (view) Author: [hidden] (pokoli) (Tryton committer) (Tryton translator) Date: 2019-12-02.09:45:54
When duplicating a production in waiting state it's works are also duplicated but the production is reset back to the draft state (which normally does not have works). 

So when waiting the duplicated production the works are re-recreated based on the routing so they are created two times.
History
Date User Action Args
2019-12-10 00:32:05roundup-botsetmessages: + msg54394
keyword: - backport
2019-12-03 19:00:09cedsetkeyword: + backport
2019-12-03 18:43:27roundup-botsetmessages: + msg53813
2019-12-03 18:43:22roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg53812
2019-12-02 10:33:19reviewbotsetmessages: + msg53777
2019-12-02 09:55:21reviewbotsetnosy: + reviewbot
messages: + msg53775
2019-12-02 09:46:52pokolisetstatus: in-progress -> testing
reviews: 272591002
keyword: + review
2019-12-02 09:45:54pokolicreate

Showing 10 items. Show all history (warning: this could be VERY long)