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

Cancelled OrderItems are still included in orderGrandTotal

    XMLWordPrintableJSON

Details

    Description

      Cancelled OrderItems are still included in the calculation of the order price.

      Tested with release 16.11, revision: 1781126
      Steps to reproduce:
      1. Setup a fresh OFBiz and do loadDefault
      2. Go to the Order Manager and cancel the only existing demo order named DEMO10090 here: https://localhost:8443/ordermgr/control/orderview?orderId=DEMO10090
      3. The "Total Due" at the bottom right still states 38.36$. It should be 0$ because all the items got cancelled.

      The error is probably in OrderView.groovy line 119: OrderReadHelper.getOrderGrandTotal(orderItems, orderAdjustments)
      This method apparently includes cancelled OrderItems in the grandTotal.

      Attachments

        1. OFBIZ-9204.patch
          0.7 kB
          Maurice Meyer

        Activity

          People

            mbrohl Michael Brohl
            mauricemeyer Maurice Meyer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: