Riken Bhorania (OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/6.0-opw-6344-rch into 
lp:openobject-addons/6.0.

Requested reviews:
  Jay Vora (OpenERP) (jvo-openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-6344-rch/+merge/66606



Restrict to create unwanted journal entries in the case of partial deductible 
tax scenario.
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-6344-rch/+merge/66606
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/6.0-opw-6344-rch.
=== modified file 'account/invoice.py'
--- account/invoice.py	2011-06-21 14:56:58 +0000
+++ account/invoice.py	2011-07-01 13:35:52 +0000
@@ -1469,9 +1469,6 @@
                 if tax_code_found:
                     if not tax_code_id:
                         continue
-                    res.append(self.move_line_get_item(cr, uid, line, context))
-                    res[-1]['price'] = 0.0
-                    res[-1]['account_analytic_id'] = False
                 elif not tax_code_id:
                     continue
                 tax_code_found = True

_______________________________________________
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