Applied fix from jira issue - OFBIZ-5392 - Return Item received quantity does not updated correctly in case of partial receiving.
Thanks Deepak for reporting the issue and team ofbiz.us for providing the fix for the same. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618412 13f79535-47bb-0310-9956-ffa450edef68