[jira] [Created] (OFBIZ-8143) When Creating an Order from a Quote, the items are added to the purchase order in reverse order

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

[jira] [Created] (OFBIZ-8143) When Creating an Order from a Quote, the items are added to the purchase order in reverse order

Nicolas Malin (Jira)
Forrest Rae created OFBIZ-8143:
----------------------------------

             Summary: When Creating an Order from a Quote, the items are added to the purchase order in reverse order
                 Key: OFBIZ-8143
                 URL: https://issues.apache.org/jira/browse/OFBIZ-8143
             Project: OFBiz
          Issue Type: Bug
          Components: order
    Affects Versions: Release Branch 15.12, Trunk, Release Branch 14.12, Release Branch 13.07
            Reporter: Forrest Rae
            Priority: Minor


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 1, thus adding the all items as the first item.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)