{"shas":[["f445f8a1d818e468d914297224cce2b1288da5ad","811c1987b169139c3599e569bb8f018ce8f2d742@apache.org","\"Applied fix from trunk for revision: 1042009\" \n------------------------------------------------------------------------\nr1042009 | jleroux | 2010-12-03 22:18:53 +0100 (ven., 03 déc. 2010) | 1 line\n\nFixes an issue reported by Erwan at OFBIZ-4008 \"displaying promoText in finalizeOrder is wrongly done\"\n------------------------------------------------------------------------\n?\\026\n\ngit-svn-id: https://svn.apache.org/repos/asf/ofbiz/branches/release10.04@1042013 13f79535-47bb-0310-9956-ffa450edef68","Jacques Le Roux"],["69da08617775c8607ff0567f1f54cddb7e620b08","811c1987b169139c3599e569bb8f018ce8f2d742@apache.org","\"Applied fix from trunk for revision: 1042034\" \n------------------------------------------------------------------------\nr1042034 | jleroux | 2010-12-03 23:34:06 +0100 (ven., 03 déc. 2010) | 13 lines\n\nA suggested change by Jeremy Wickersheimer \"Rounding error in prorating returned adjustments\" (https://issues.apache.org/jira/browse/OFBIZ-4038) - OFBIZ-4038\n\nThe error is in applications/order/src/org/ofbiz/order/order/OrderReturnServices.java the getAdjustmentAmount method is prorating using this code:\n\nnewAmount = returnTotal.divide(originalTotal, decimals, rounding).multiply(amount).setScale(decimals, rounding);\n\nit should be:\n\nnewAmount = returnTotal.multiply(amount).divide(originalTotal, decimals, rounding);\n\nelse by dividing first what should be for example 1/3 of the adjustment ends up being 0.33\n\nJLR: I have added the setScale part\n------------------------------------------------------------------------\n?\\026\n\ngit-svn-id: https://svn.apache.org/repos/asf/ofbiz/branches/release10.04@1042036 13f79535-47bb-0310-9956-ffa450edef68","Jacques Le Roux"],["72770971021beb75c336a77c86829210bc07fdf1","811c1987b169139c3599e569bb8f018ce8f2d742@apache.org","\"Applied fix from trunk for revision: 1042038\" \n------------------------------------------------------------------------\nr1042038 | jleroux | 2010-12-03 23:43:53 +0100 (ven., 03 déc. 2010) | 2 lines\n\nA patch from Mirko Vogelsmeier \"Added Labels for Option-fields in FindProductPromoCode.ftl\" (https://issues.apache.org/jira/browse/OFBIZ-4034) - OFBIZ-4034\n\n------------------------------------------------------------------------\n?\\026\n\ngit-svn-id: https://svn.apache.org/repos/asf/ofbiz/branches/release10.04@1042042 13f79535-47bb-0310-9956-ffa450edef68","Jacques Le Roux"]],"ref":"refs/heads/release10.04","push_id":20937475,"head":"72770971021beb75c336a77c86829210bc07fdf1","size":3}