Skip to content

[BUG] Total selling price does not match summed up selling prices from the final report #1458

@casper

Description

@casper

Is this a bug?

If I generate a report and take the "Selling Price" column from the report and sum it, the result is not the same as the "Total selling prices" reported at the top.

It's off by a few euros for about 100 assets.
Does not seem like a rounding error, but I could not figure out where the discrepancy comes from.

Only difference I could figure out is that the report prints the selling price for each closed lot separately, but internally the code takes the selling price only from the trade row, not using closed lot information.

Still why this produces the difference, I couldn't figure out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions