[ https://issues.apache.org/jira/browse/OFBIZ-9958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16239498#comment-16239498 ]
Pierre Smits commented on OFBIZ-9958: ------------------------------------- I believe this ticket can be closed. It is small enough to be considered atomic. > Sales by Store report calculates Value Sold incorrectly > -------------------------------------------------------- > > Key: OFBIZ-9958 > URL: https://issues.apache.org/jira/browse/OFBIZ-9958 > Project: OFBiz > Issue Type: Bug > Components: order > Affects Versions: Release Branch 13.07, Release Branch 14.12, Trunk, > Release Branch 15.12, Release Branch 16.11 > Reporter: Oleg Andreyev > Assignee: Jacques Le Roux > Fix For: Trunk, Release Branch 16.11 > > Attachments: report.diff, sales_by_store_after.png, > sales_by_store_before.png > > > Sales by Store report calculate Value Sold without taking into account order > item quantity. See the first screenshot. It was 2 orders for the same product > priced at $10. One order had 1 of the product, second has 2 of the product. > Sales by Store report display correct quantity sold 3 and incorrect value > sold $20. I guess it should be $30. > The Second screenshot illustrates result after the patch. > Patch is tested with trunk and 16.11. This bug exists from the very > beginning. Perhaps this is not too valuable report if the issue left > unnoticed for so long time. But I have been asked about it twice recently and > I think it's time to fix it. -- This message was sent by Atlassian JIRA (v6.4.14#64029)