← Back to team overview

openerp-india team mailing list archive

[Bug 1108801] Re: taxes on invoice depend on the order of the line items

 

in account/account_invoice.py
line 1679 insert
                val['id'] = tax['id']
line 1701 change to
                key = (val['tax_code_id'], val['base_code_id'], val['account_id'], val['account_analytic_id'], val['id'])

so it groups by tax ID, not just the tax code IDs

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1108801

Title:
  taxes on invoice depend on the order of the line items

Status in OpenERP Addons (modules):
  New

Bug description:
  I created an invoice with two line items, first zero rated and second
  standard rated. Compute taxes added a single tax line coded as zero
  rated with the tax amount of the second vatable item. If I swap the
  lines around then it gets coded as standard rate, including the base
  amount of the zero rated item. I would expect two tax lines coded
  differently so that they go in the right boxes on the VAT report

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1108801/+subscriptions


References