Merge lp:~openerp-dev/openobject-addons/6.1-opw-577224-han into lp:openobject-addons/6.1

Proposed by Hardik Ansodariya (OpenERP)
Status: Approved
Approved by: Naresh(OpenERP)
Approved revision: 6895
Proposed branch: lp:~openerp-dev/openobject-addons/6.1-opw-577224-han
Merge into: lp:openobject-addons/6.1
Diff against target: 12 lines (+1/-1)
1 file modified
sale/report/ (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/6.1-opw-577224-han
Reviewer Review Type Date Requested Status
Naresh(OpenERP) Pending
Review via email:

Description of the change


Fixed the issue of currency conversion in sales analysis report.

sales with different currency but in sale analysis report Total price should be convert with
Base currency of company.

e.g create a sale order with GBP, USD and EUR(Price lsit) in order line it will convert properly according to currency rate with base currency.

But in sales analysis report it is not converting Total price with base currency.

With reference to Maintenance case:577224

Kindly review this.


To post a comment you must log in.
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :


This bug was qualified as Confirmed on Trunk (means still existing and reproducible). A Merge Proposal for trunk was created to fix it. Here is the link to follow the MP on Launchpad and be informed once it's been merged in trunk: ... If this Merge Proposal could not be merged in v6.1 at the release of v7.0, it will be closed.

Naresh Soni

Unmerged revisions

6895. By Hardik Ansodariya (OpenERP)

[FIX] sale_report: Total price was not reflecting in currency conversion (Maintanace Case: 577224)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'sale/report/'
2--- sale/report/ 2011-12-19 16:54:40 +0000
3+++ sale/report/ 2012-07-30 07:18:24 +0000
4@@ -72,7 +72,7 @@
5 l.product_id as product_id,
6 t.uom_id as product_uom,
7 sum(l.product_uom_qty / u.factor * u2.factor) as product_uom_qty,
8- sum(l.product_uom_qty * l.price_unit * ( / 100.0) as price_total,
9+ sum(l.product_uom_qty * t.list_price * ( / 100.0) as price_total,
10 1 as nbr,
11 s.date_order as date,
12 s.date_confirm as date_confirm,