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/sale_report.py (+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: mp+117220@code.launchpad.net

Description of the change

Hello,

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.

Thanks

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

Hello,

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 https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-opw-577224-port-mma/+merge/135861 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.

Thanks,
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
=== modified file 'sale/report/sale_report.py'
--- sale/report/sale_report.py 2011-12-19 16:54:40 +0000
+++ sale/report/sale_report.py 2012-07-30 07:18:24 +0000
@@ -72,7 +72,7 @@
72 l.product_id as product_id,72 l.product_id as product_id,
73 t.uom_id as product_uom,73 t.uom_id as product_uom,
74 sum(l.product_uom_qty / u.factor * u2.factor) as product_uom_qty,74 sum(l.product_uom_qty / u.factor * u2.factor) as product_uom_qty,
75 sum(l.product_uom_qty * l.price_unit * (100.0-l.discount) / 100.0) as price_total,75 sum(l.product_uom_qty * t.list_price * (100.0-l.discount) / 100.0) as price_total,
76 1 as nbr,76 1 as nbr,
77 s.date_order as date,77 s.date_order as date,
78 s.date_confirm as date_confirm,78 s.date_confirm as date_confirm,