Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-6781

Incorrect order adjustment after order item is cancelled

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Release Branch 13.07, Release Branch 14.12, Release Branch 15.12, Trunk
    • Fix Version/s: 14.12.01, 15.12.01, 13.07.04
    • Component/s: order
    • Labels:
      None

      Description

      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

        Attachments

        1. OFBIZ-6781-trunk.patch
          1 kB
          Suraj Khurana

          Activity

            People

            • Assignee:
              mridulpathak Mridul Pathak
              Reporter:
              vyom0213@gmail.com Vyom Jain
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: