As in my opinion this is correct, hda. If no pickinglines are to be processed anymore due to the fact that 1 picking line is cancelled, order should be be set to status "Finished" with 50%.
But herewith we do still have a problem with splitting the lines.
When split the status of the splitted lines is now set to "Available" for both lines, while there is no inventory for the second line.
In my opinion this should be status "Confirmed" => See my patch proposal.
While testing I found that the SO status is set based on the LAST picking line. If the last pickingline is processed the SO status is set to "Done" regardless if the previous pickingline is NOT processed yet.
This is wrong. The status should be based on a check for all picking lines.
But here I can't find yet the problem in source code. Perhaps you know where to look?
As in my opinion this is correct, hda. If no pickinglines are to be processed anymore due to the fact that 1 picking line is cancelled, order should be be set to status "Finished" with 50%.
But herewith we do still have a problem with splitting the lines.
When split the status of the splitted lines is now set to "Available" for both lines, while there is no inventory for the second line.
In my opinion this should be status "Confirmed" => See my patch proposal.
While testing I found that the SO status is set based on the LAST picking line. If the last pickingline is processed the SO status is set to "Done" regardless if the previous pickingline is NOT processed yet.
This is wrong. The status should be based on a check for all picking lines.
But here I can't find yet the problem in source code. Perhaps you know where to look?