You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacopo Cappellato (JIRA)" <ji...@apache.org> on 2014/03/20 16:00:58 UTC

[jira] [Commented] (OFBIZ-5589) Display Currency Uom of Best Selling Product in order component wrongly

    [ https://issues.apache.org/jira/browse/OFBIZ-5589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13941800#comment-13941800 ] 

Jacopo Cappellato commented on OFBIZ-5589:
------------------------------------------

This is indeed a bug: the portal screenlet that shows the "Top Best Selling Products" doesn't consider the currency of the orders.
For example: if you enter an order for WG-1111 in USD and an order for the same product in EUR the two amounts will be summed up together as if they were both USD.
Expected correct behavior: two lines should appear in the report for the same product sold in two different currencies.

The data preparation script that needs to be fixed is the following:

http://svn.apache.org/repos/asf/ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/product/BestProducts.groovy

Any volunteer that would like to submit a patch with the suggested fix?

> Display Currency Uom of Best Selling Product in order component wrongly
> -----------------------------------------------------------------------
>
>                 Key: OFBIZ-5589
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5589
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk
>         Environment: window 8, eclipse kepler, JDK 1.6
>            Reporter: Lê Văn Thiêp
>              Labels: features
>             Fix For: SVN trunk
>
>
> Scenario
> 1. Click Order webapp
> 2. Click main menu item
> 3. View Best Selling Products
> I aware Currency Uom of product that display wrongly.



--
This message was sent by Atlassian JIRA
(v6.2#6252)