[ https://issues.apache.org/jira/browse/OFBIZ-9958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16238934#comment-16238934 ]
Jacques Le Roux commented on OFBIZ-9958: ---------------------------------------- Thanks Oleg, Your patch is in trunk r1814277 R16.11 r1814278 The older releases are no longer supported and I got conflict issues, not backported I also noticed that given products (free ones, due to promotion) are counted as paid products, another thing to fix. I think we should continue here, the tiltle is appropriate, so not closing yet... > 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 > Priority: Normal > 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)