Suraj Khurana commented on OFBIZ-8143:

Thanks Forest Rae for your contribution.

After this patch, every item added into PO will get added as first item in 
cart, I think it's OK, not a big deal.

Any other thoughts are welcome, otherwise I will commit in few days.

> 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 13.07, Release Branch 14.12, Trunk, 
> Release Branch 15.12
>            Reporter: Forrest Rae
>            Assignee: Suraj Khurana
>            Priority: Minor
>         Attachments: OFBIZ-8143.patch
> 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.

This message was sent by Atlassian JIRA

Reply via email to