Hardik Ansodariya (OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/6.1-opw-577224-han into
lp:openobject-addons/6.1.
Requested reviews:
Naresh(OpenERP) (nch-openerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-577224-han/+merge/117220
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
--
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-577224-han/+merge/117220
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/6.1-opw-577224-han.
=== 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 @@
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 * l.price_unit * (100.0-l.discount) / 100.0) as price_total,
+ sum(l.product_uom_qty * t.list_price * (100.0-l.discount) / 100.0) as price_total,
1 as nbr,
s.date_order as date,
s.date_confirm as date_confirm,
_______________________________________________
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