Bharat Devnani (Open ERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-bug-887367-bde into 
lp:openobject-addons.

Requested reviews:
  OpenERP Core Team (openerp)
Related bugs:
  Bug #887367 in OpenERP Addons: "invoice - incoherence between base amount and 
untaxed amount"
  https://bugs.launchpad.net/openobject-addons/+bug/887367

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-887367-bde/+merge/81573

Hello Sir,

I have made some changes in account/account_invoice.py inorder to fix the bug.

Thanks & Regards,
Devnani Bharat R.
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-887367-bde/+merge/81573
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-887367-bde.
=== modified file 'account/account_invoice.py'
--- account/account_invoice.py	2011-10-19 08:14:03 +0000
+++ account/account_invoice.py	2011-11-08 13:34:27 +0000
@@ -1559,6 +1559,7 @@
 
         for line in inv.invoice_line:
             for tax in tax_obj.compute_all(cr, uid, line.invoice_line_tax_id, (line.price_unit* (1-(line.discount or 0.0)/100.0)), line.quantity, inv.address_invoice_id.id, line.product_id, inv.partner_id)['taxes']:
+                tax['price_unit'] = cur_obj.round(cr, uid, cur, tax['price_unit'])
                 val={}
                 val['invoice_id'] = inv.id
                 val['name'] = tax['name']

_______________________________________________
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