[ https://issues.apache.org/jira/browse/OFBIZ-9958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacques Le Roux closed OFBIZ-9958. ---------------------------------- Resolution: Fixed Fix Version/s: (was: Trunk) Thanks Oleg, I did not expect you to work on this :) I also understand your argument on the point 1. I think it's minor but I still find weird that an offered product is counted w/o notice in the value sold. Anyway this is indeed intended to sales managers and they are certainly more interested by raw values than precise accounting. Nevertheless I find Pierre's proposition interesting and more detailled than mine, So Pierre, I let you decide if you wants to create a Jira for that. For now I'm closing here. > 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: 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)