Mayur Maheshwari(OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-bug-922947-mma into 
lp:openobject-addons.

Requested reviews:
  Rucha (Open ERP) (rpa-openerp)
Related bugs:
  Bug #922947 in OpenERP Addons: "[trunk] Rounding bug in average price 
computation"
  https://bugs.launchpad.net/openobject-addons/+bug/922947

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-922947-mma/+merge/92938

Hello,

        stock: I have set a round false in new price

Thanks
mma

-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-922947-mma/+merge/92938
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-922947-mma.
=== modified file 'stock/stock.py'
--- stock/stock.py	2012-02-13 18:07:41 +0000
+++ stock/stock.py	2012-02-14 10:10:47 +0000
@@ -1224,7 +1224,7 @@
 
                     if qty > 0:
                         new_price = currency_obj.compute(cr, uid, product_currency,
-                                move_currency_id, product_price)
+                                move_currency_id, product_price, round=False)
                         new_price = uom_obj._compute_price(cr, uid, product_uom, new_price,
                                 product.uom_id.id)
                         if product.qty_available <= 0:

_______________________________________________
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