sale category report uses wrong variables

Bug #390164 reported by Ferdinand
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Undecided
Harry (OpenERP)

Bug Description

price_total instead of price_average

Revision history for this message
Ferdinand (office-chricar) wrote :
Revision history for this message
Ferdinand (office-chricar) wrote :

branch-server 1795
branch-addons 2329

Revision history for this message
Ferdinand (office-chricar) wrote :
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Hello Ferdinand,

The Report is for average sales of the Month.

Thanks.

Changed in openobject-addons:
status: New → Invalid
Revision history for this message
Ferdinand (office-chricar) wrote :

sorry do not agree

this line of report_sale_order_product calculates the average price (basically value/qty)
(sum(l.product_uom_qty*l.price_unit)/sum(l.product_uom_qty*u.factor))::decimal(16,2) as price_average

no one needs a "pie" chart for average price

it may be interesting to compare the average price and or totals per product(group) from month to month,
for this one needs a bar chart.

I do not understand what this means
"The Report is for average sales of the Month."
we can have
* sales of the month
* average monthly sales ((l.product_uom_qty*l.price_unit / number of month)

Changed in openobject-addons:
status: Invalid → New
Changed in openobject-addons:
assignee: nobody → Harry (Open ERP) (hmo-tinyerp)
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Hello Dr. Ferdinand,

Can you check the facility available in trunk ?

Thanks for the suggestions.

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Sales Related report have been improved on trunk.
Thanks.

Changed in openobject-addons:
milestone: none → 6.0
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.