/[Apache-SVN]
ViewVC logotype

Revision 1552290


Jump to revision: Previous Next
Author: jleroux
Date: Thu Dec 19 12:20:32 2013 UTC (10 years, 4 months ago)
Changed paths: 1
Log Message:
A slightly modified patch from Praveen Agrawal for "Order Return Process doesn't override the Order Adjustment Amount that is provided from Return Screen GUI" https://issues.apache.org/jira/browse/OFBIZ-5439

OFBiz return services (OrderReturnServices.java - createReturnAdjustment) contains a bug when generating the Return Adjustments based on the Order Adjustments.
The bug is it is ignoring the 'overriding amount' entered on the screen.
For example If an order has an Shipping Charge Order Adjustment in the amount of 7.95 and from the screen the cleint wants to return only 5.95 (override), the return services ignores the 5.95 entry and returns the full 7.95.

jleroux: I removed a BigDecimal amount declaration which was conflicting
I formatted the if block

Changed paths

Path Details
Directoryofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderReturnServices.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26