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

When Creating an Order from a Quote, the items are added to the purchase order in reverse order

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Minor
    • Resolution: Unresolved
    • Release Branch 13.07, Release Branch 14.12, Release Branch 15.12, Trunk, Upcoming Branch
    • None
    • order
    • None
    • Patch

    Description

      When creating an order from a Quote, if a purchase order is required (due to dropship) the items are added to the purchase order in reverse order as they appear on the quote and sales order. This is because the call to ShoppingCartItem.makePurchaseOrderItem() is made with the first argument always set to 0, thus adding the all items as the first item.

      Attachments

        1. OFBIZ-8143.patch
          1 kB
          Forrest Rae
        2. OFBIZ-8143-other-implementation.patch
          2 kB
          Nicolas Malin

        Activity

          People

            surajk Suraj Khurana
            fbr@14x.net Forrest Rae
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: