Issue 11860

Title
Add warning when reset to draft production with started work
Priority
feature
Status
chatting
Nosy list
ced, pokoli
Assigned to
Keywords
easy

Created on 2022-11-03.13:41:41 by ced, last changed 1 month ago by ced.

Messages

Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2022-11-03.14:55:59

I do not think so. If a work has been started when resetting to draft a production. This work may be needed to be done again for the new products added for example. Indeed we can not guess so better to add every works and let the user decide to delete what is not needed (than the opposite).

Author: [hidden] (pokoli) Tryton committer Tryton translator
Date: 2022-11-03.14:52:35

I think we should avoid creating duplicate tasks when going back to draft and waiting.

Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2022-11-03.13:41:41

If the production is reset to draft with started works, then the started work is kept and when the production is set back to waiting, a complete new list of works is created (with a duplicate of the already started). We can not really prevent that and it is even not really a mistakes but I think we should warn the user that he is resetting to draft a production that has already started.

History
Date User Action Args
2022-11-03 14:55:59cedsetmessages: + msg79913
2022-11-03 14:52:35pokolisetmessages: + msg79912
nosy: + pokoli
status: unread -> chatting
2022-11-03 13:41:41cedcreate

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