Ujjvala Collins (OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-bug-798148-uco into 
lp:openobject-addons.

Requested reviews:
  OpenERP Core Team (openerp)
Related bugs:
  Bug #798148 in OpenERP Addons: "sales analysis: wrong quantity calculation 
when multiple UoM"
  https://bugs.launchpad.net/openobject-addons/+bug/798148

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-798148-uco/+merge/65338

[FIX] sale:
----------------
Fixed Sales Analysis report. (lp:798148)
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-798148-uco/+merge/65338
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-798148-uco.
=== modified file 'sale/report/sale_report.py'
--- sale/report/sale_report.py	2011-01-14 00:11:01 +0000
+++ sale/report/sale_report.py	2011-06-21 12:39:18 +0000
@@ -95,7 +95,7 @@
                         else
                             u.name
                         end) as uom_name,
-                        sum(l.product_uom_qty * u.factor) as product_uom_qty,
+                        sum(l.product_uom_qty / u.factor) as product_uom_qty,
                         sum(l.product_uom_qty * l.price_unit) as price_total,
                         pt.categ_id, l.order_id
                     from

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to