Kirti Savalia\(OpenERP)\ has proposed merging 
lp:~openerp-dev/openobject-addons/6.0-opw-574683-ksa into 
lp:openobject-addons/6.0.

Requested reviews:
  Naresh(OpenERP) (nch-openerp)
Related bugs:
  Bug #994445 in OpenERP Addons: "tax base rounding issue"
  https://bugs.launchpad.net/openobject-addons/+bug/994445

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-574683-ksa/+merge/105063

Hello,

Fixed the problem of "differences amount in line subtotal and tax base" 
especially if Account precision and currency precision are different.

Thanks
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-574683-ksa/+merge/105063
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/6.0-opw-574683-ksa.
=== modified file 'account/invoice.py'
--- account/invoice.py	2012-03-16 16:47:19 +0000
+++ account/invoice.py	2012-05-08 12:25:20 +0000
@@ -1536,6 +1536,7 @@
                 val['manual'] = False
                 val['sequence'] = tax['sequence']
                 val['base'] = tax['price_unit'] * line['quantity']
+                val['base'] = cur_obj.round(cr, uid, cur, tax['price_unit'] * line['quantity'])
 
                 if inv.type in ('out_invoice','in_invoice'):
                     val['base_code_id'] = tax['base_code_id']

_______________________________________________
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