[ http://issues.apache.org/jira/browse/OFBIZ-423?page=comments#action_12446445 ] David E. Jones commented on OFBIZ-423: --------------------------------------
This is in the order stuff and not the invoice stuff. It was also something that was written a long time ago as a compromise that is not ideal that spread out adjustments over different items in a promotion, if I understand right what you are saying. At the time we weren't recalculating promotions on order changes and I think we are in many cases now, so we may be able to remove the promo spreading code that was meant to "split the difference" between customer and vendor when a partial cancellation is done. > Invoice pro-rates adjustments > ----------------------------- > > Key: OFBIZ-423 > URL: http://issues.apache.org/jira/browse/OFBIZ-423 > Project: OFBiz (The Open for Business Project) > Issue Type: Bug > Components: accounting > Reporter: Iain Fogg > Priority: Minor > > 1. Create and order for (say) 10 of an item with an item level discount of > (say) 40%. > 2. When you receive the shipment, specify (say) 5 as the quantity received > (the rest are back-ordered) > 3. Receive the shipment into inventory > 4. Edit the shipment and change the status to 'Shipped' > 5. Look at the invoice and instead seeing 5 item adjustments @ 40%, you see > 10 item adjustments @ 20% > Obviously, invoice is being created and pro-rating the size of the item > adjustments by the proportion of the order actually received. It should be > including the full adjustment for only the actual number received. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira