[FIX] sale: currency in report sale analysis

In Sale Report Analysis, the price total must be in the currency
of the company.
Introduced by b5c1cb4298
opw:649781
This commit is contained in:
Goffin Simon 2015-09-29 09:07:06 +02:00
parent 0333e4da02
commit 48ccb19937
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ class sale_report(osv.osv):
l.product_id as product_id,
t.uom_id as product_uom,
sum(l.product_uom_qty / u.factor * u2.factor) as product_uom_qty,
sum(l.product_uom_qty * cr.rate * l.price_unit * (100.0-l.discount) / 100.0) as price_total,
sum(l.product_uom_qty * l.price_unit / cr.rate * (100.0-l.discount) / 100.0) as price_total,
count(*) as nbr,
s.date_order as date,
s.date_confirm as date_confirm,