[trunk/7.0/6.1] invoice tax_line - only a single line for multiple tax rates

Bug #1066842 reported by Yannick Vaucher @ Camptocamp on 2012-10-15
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Status tracked in Trunk
Won't Fix
OpenERP Publisher's Warranty Team
Fix Committed
OpenERP R&D Addons Team 3

Bug Description



Not all taxes are shown in tax_line, it seems taxes are grouped by account.
This make confusion as in taxes the description taxes is only one tax name.

How to reproduce:

Create a 1st tax
 - name tax1

Create a 2nd tax
 - name tax2

Create an invoice
 - set a random partner
 - create 1 invoice line using tax1
 - create 1 invoice line using tax2

Click on "Compute Taxes"

What you get: only one line with description as "Tax1" but with sum of tax1 + tax2


Related branches

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Medium
status: New → Confirmed
Changed in openobject-addons:
assignee: OpenERP R&D Addons Team 3 (openerp-dev-addons3) → OpenERP Publisher's Warranty Team (openerp-opw)

Hi Yannick,

Currently, the taxes are grouped by Account Tax Code, Account Base Code(Tax) and Account(Invoice Line), but the problem is that, it shows only one tax name in description field which misleads users.

The branch lp:~openerp-dev/openobject-addons/6.1-opw-582490-rgo will show all tax names in description field which were groped.


Changed in openobject-addons:
status: Confirmed → Fix Committed

Hello Yannick,

As I previously mentioned in comment #2, the taxes in 'account.invoice.tax' are grouped by Account Tax Code, Account Base Code and Account(Invoice Line).

If we fix this issue by splitting the tax lines of account invoice by tax we need to change the grouping of taxes to 'tax_id', we need to add a field 'tax_id' in 'account.invoice.tax' object in order to pass the checking done while validating the Invoice.

Such changes are not possible for stable version. So, I am setting the status of this bug to 'Wont Fix' for 6.1 series and opening it for Trunk series.


Hello Ravi,

Fair enough.
Just note that the current commited fix isn't a good option as it would be quite ugly.


summary: - [6.1] invoice taxe_line - only a single line for multiple tax rates
+ [trunk/7.0/6.1] invoice tax_line - only a single line for multiple tax
+ rates
Mariano Ruiz (marianoruiz) wrote :

I know there is no longer supported to v6.1 version, so, we make a manual merge from this patch in v7.0 addons branch to 6.1 branch, check our repo in lp:~eoc/openobject-addons/6.1

Amit Parik (amit-parik) on 2013-10-21
tags: added: taxes

              I have fixed in https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1066842-ptr
              Revision ID: <email address hidden>
              Revision No: 9028.


To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers