[19.0] [FIX] sale_report_margin: report the purchase price as a unit cost + add other useful columns - #287
Open
ivantodorovich wants to merge 3 commits into
Open
[19.0] [FIX] sale_report_margin: report the purchase price as a unit cost + add other useful columns#287ivantodorovich wants to merge 3 commits into
ivantodorovich wants to merge 3 commits into
Conversation
Contributor
|
Hi @sergio-teruel, |
The purchase price was a sum of the unit costs of the grouped lines, without currency conversion. Report it as the average unit cost converted to the company currency, like the unit price.
Ratio of the margin over the untaxed total of the grouped lines, as an averaged measure.
Add the purchase price next to the unit price, and the margin and margin percentage next to the total.
ivantodorovich
force-pushed
the
19.0-imp-sale_report_margin-list-view
branch
from
September 17, 2026 17:59
87cf180 to
2033e37
Compare
ivantodorovich
marked this pull request as ready for review
September 17, 2026 18:01
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Show purchase price, margin and margin percentage in the sales analysis list view. The purchase price is now the average unit cost converted to the company currency, like the unit price.