sigmah
sigmah copied to clipboard
Status only "Available" for project model with attached projects swit…
fix for issue: 0000826
Thanks @niksj.
Seems OK to me for the code, @osarrat can you test that (or just look at the code) it's OK from a functional point of view?
Thanks @niksj for this work! Actually, on the functional point of view, your fix is not yet doing the job. Your fix is aiming to ban a shift from Draft to any target status which is not either Ready or Used. This is correct, but not enough. I have tried your code, and if a Draft project model has a draft project created from it, when I shift its status to "Ready", it is not automatically shifted to "Available & used" as it should since a draft project is attached to it and transformed into a real project. It is a good start but there is still some work to do on this issue ! :)