Applied bug fix from trunk r1639833.
Applied bug fix from jira issue OFBIZ-5854 - Order On Hold Auto Approves When Edited.
Thanks Vikas for creating the issue and thanks Akash for verification.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/branches/release13.07@1639834 13f79535-47bb-0310-9956-ffa450edef68