Dev - advice on how best to fix order adjustment bug after items are canceled

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Dev - advice on how best to fix order adjustment bug after items are canceled

Si Chen-2
Hi everybody -

I just noticed this bug: when an order is canceled, it still shows an
order value equal to the sum of the (negative) order adjustments.  What
should be the right way to fix this?  Should the OrderAdjustments be
adjusted as items are canceled (which cancelOrderItem) is not doing?

Or should OrderReadHelper be changed so that it pro-rates adjustment
values based on (orderItem.quantity - orderItem.cancelQuantity) *
adjustment?

Si

 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev