Based on Adrian's recent comment, committing the changes from OrderReturnServices.xml file. Thanks ofbiz.us team for providing updated patch. 

==============================================================
Please do not use the <calculate> element. Mini-language supports UEL:

<set field="totalsMap[receipt.returnItemSeqId]" from="receipt.quantityAccepted + receipt.quantityRejected />

Also, the <set> element "from-field" attribute has been deprecated, use "from".

Mini-language has an updated schema, it would be best if you configured your XML editor to use it.
==============================================================

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