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

Bug #1066842 reported by Yannick Vaucher @ Camptocamp
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Status tracked in Trunk
6.1
Won't Fix
Undecided
OpenERP Publisher's Warranty Team
Trunk
Fix Committed
Medium
OpenERP R&D Addons Team 3

Bug Description

Hello,

Issue:

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

Regards,
Yannick

Tags: taxes

Related branches

Revision history for this message
Jignesh Rathod(OpenERP) (jir-openerp) wrote :
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)
Revision history for this message
Ravi Gohil (OpenERP) (rgo-openerp) wrote :

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.

Thanks.

Changed in openobject-addons:
status: Confirmed → Fix Committed
Revision history for this message
Ravi Gohil (OpenERP) (rgo-openerp) wrote :

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.

Thanks.

Revision history for this message
Yannick Vaucher @ Camptocamp (yvaucher-c2c) wrote :

Hello Ravi,

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

Thanks

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
Revision history for this message
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)
tags: added: taxes
Revision history for this message
Pariket Trivedi(OpenERP) (pariket.trivedi-openerp) wrote :

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

Thanks.
ptr

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.