[
https://issues.apache.org/jira/browse/OFBIZ-6781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15076462#comment-15076462 ]
Scott Gray commented on OFBIZ-6781:
-----------------------------------
Looks like a bug in the loadCartFromOrder service, it shouldn't be loading the order header level promo adjustments from the database. Was introduced in r745257 from ticket OFBIZ-1945.
> Incorrect order adjustment after order item is cancelled
> --------------------------------------------------------
>
> Key: OFBIZ-6781
> URL:
https://issues.apache.org/jira/browse/OFBIZ-6781> Project: OFBiz
> Issue Type: Bug
> Components: order
> Affects Versions: Trunk
> Reporter: Vyom Jain
>
> Steps to replicate (tested on trunk at r1721093) -
> 1. Make sure promotion
https://localhost:8443/catalog/control/EditProductPromo?productPromoId=9011 is enabled.
> 2. Create a sales order after adding to cart 1 x GZ-1001 @ $25.99 & 1 x GZ-1000 @ $15.99
> 3. order view screen shows Total Other Order Adjustments as -$4.2, which is correct.
> 4. Cancel 1 x GZ-1001 @ $25.99
> 5. Reload order view screen.
> Observed -
> 1. order view screen shows Total Other Order Adjustments as -($4.20 + $1.6) = -$5.8
> Expected -
> 1. order view screen should show Total Other Order Adjustments as -$1.6
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)