[ https://issues.apache.org/jira/browse/OFBIZ-4953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13697672#comment-13697672 ]
Sumit Pandit commented on OFBIZ-4953: ------------------------------------- Hello Deepak, Code in the patch is trying to control order item status changes. BTW, status changes are kind of requirements which are defined as per business process. OFBiz system provide valid status changes for generic business processes. Here, The status valid changes are purposely maintained in separate entity to facilitate the business owner to decide the change in status for custom requirements. Therefore it is advised to not to validate the status changes at code level by hard coding of status, let StatusValidChange to decide the valid changes in status of any object. > 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