[
https://issues.apache.org/jira/browse/OFBIZ-4953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13699825#comment-13699825 ]
Christian Geisert commented on OFBIZ-4953:
------------------------------------------
I can confirm the problem and the patch fixes the issue but a simpler fix would be to change order items only with status ITEM_APPROVED. This would also cover the case when an order item has the status ITEM_REJECTED
Thinking more about it, we shouldn't change the order item states when an order is released from hold because (to my surprise) there is no ITEM_HOLD status and therefore order item states don't change at all when an order is put on hold.
> Order item status change issue.
> -------------------------------
>
> Key: OFBIZ-4953
> URL:
https://issues.apache.org/jira/browse/OFBIZ-4953> Project: OFBiz
> Issue Type: Bug
> Components: order
> Reporter: Deepak Dixit
> Fix For: Release 10.04, Release Branch 11.04, SVN trunk, Release Branch 12.04
>
> Attachments: OFBIZ-4953-R10.04.patch, OFBIZ-4953-R11.04-R12.04.patch, OFBIZ-4953-Trunk.patch
>
>
> Steps to regenerate issue:
> - Crate an SO/PO with more then one line item.
> - Partially ship/received any one order item.
> - After partial ship/receive order should be in approve status, one order item in in completed status and another one is in Approved status.
> - Change order status to hold.
> - Now again approve order.
> - After approve all order order except Completed/cancelled item should go in Approved status.
> But as per the current behavior completed order item also change to approved status.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira