[jira] [Updated] (OFBIZ-5858) Quote profit percentage is calculated wrong

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-5858) Quote profit percentage is calculated wrong

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-5858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre Smits updated OFBIZ-5858:
--------------------------------
    Attachment: OFBIZ-5858-ORDER-QuoteProfitPerc.patch

This patch fixes the issue.

> Quote profit percentage is calculated wrong
> -------------------------------------------
>
>                 Key: OFBIZ-5858
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5858
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: Release Branch 11.04, Release Branch 12.04, Release Branch 13.07, Trunk
>            Reporter: Pierre Smits
>              Labels: quote
>         Attachments: OFBIZ-5858-ORDER-QuoteProfitPerc.patch
>
>
> When reviewing the profit page of a quote the profit percentage is calculated wrong. In stead of dividing the profit by the quote amount giving the margin, the quote amount is divided by the average cost (when provided). Thus giving the quote (amount) to cost ratio.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)