Openbravo Issue Tracking System - Retail Modules
View Issue Details
0032470Retail ModulesRetail Widgetspublic2016-03-14 17:402016-12-01 15:39
ngarcia 
Retail 
urgentmajoralways
scheduledopen 
5
 
 
No
0032470: No data is shown in the Best Selling Product by Store widget if a product is sold and returned and its cost calculated
No data is shown in the Best Selling Product by Store widget if a product is sold and returned and its cost calculated:

olt.salesOrderLine = sol)) is 0 in the grossmarginpercentage column of the query
In the backend:
   Create a new product
   Add it in the Vall Blanca Store assortment and price list
   Add an average cost to it
In the frontend:
   Sell the product
   Return the whole ticket
In the backend:
   Launch the Costing Background process and check it finishes successfully
   Add the Best Selling Product by Store widget in the workspace
   Check "No Items to Show" message is shown
   The log shows:
      ERROR org.hibernate.util.JDBCExceptionReporter - ERROR: division by zero
      ERROR org.openbravo.service.datasource.DataSourceServlet - could not execute query org.hibernate.exception.DataException: could not execute query...
sum(sol.lineNetAmount + (select sum(taxAmount) from OrderLineTax olt where
No tags attached.
Issue History
2016-03-14 17:40ngarciaNew Issue
2016-03-14 17:40ngarciaAssigned To => Retail
2016-03-14 17:40ngarciaResolution time => 1460671200
2016-03-14 17:40ngarciaTriggers an Emergency Pack => No
2016-07-08 09:04ngarciaResolution time1460671200 => 1469570400
2016-07-08 09:13ngarciaIssue Monitored: networkb
2016-07-11 12:58ngarciaResolution time1469570400 =>
2016-11-17 07:24shivum039Assigned ToRetail => shivum039
2016-11-17 07:24shivum039Statusnew => scheduled
2016-11-17 07:28shivum039Note Added: 0091617
2016-12-01 15:39jorge-garciaAssigned Toshivum039 => Retail

Notes
(0091617)
shivum039   
2016-11-17 07:28   
The above issue belongs to the org.openbravo.retail.widget module ,
As of now team(Retail Bug Team ) not fixing issues belongs to that particular Module .