Bug taxes with anglosaxon product service

Bug #1154270 reported by Ulises Lopez
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Invalid
Undecided
OpenERP Publisher's Warranty Team

Bug Description

1 Steps to reproduce the issue you have observed
1.1 Install module account_anglo_saxon
1.2 Create a new product in product type select service, select more than one tax (two, three taxes)
1.3 Create a new purchase order whit this service.
1.4 Confirm Order
1.5 Receive Invoice
1.6 Validate invoice

2 The result you observed
2.1 In the journal entries of this invoice, it creates a line of zeros. As you increase taxes, increase the lines of zeros.

3 The result you expected
3.1 No lines generate zeros

4 The platform you are using
 4.1 Ubuntu 12.04 LTS

5 The OpenERP version you are using
 5.1 Openerp 7
 5.2 Server: 4890
 5.3 Web: 3828
 5.4 Addons: 8836

Tags: maintenance

Related branches

Revision history for this message
Ulises Lopez (ulcalderon) wrote :
Changed in openobject-addons:
assignee: nobody → OpenERP Publisher's Warranty Team (openerp-opw)
tags: added: maintenance
Changed in openobject-addons:
status: New → Fix Committed
Revision history for this message
Julio Serna-http://www.vauxoo.com (hearthebreaker) wrote :

We have the same problema with this commit

Can you see it into image?
http://awesomescreenshot.com/0671ewb14c

We repeat the same case of this bug
https://bugs.launchpad.net/openobject-addons/+bug/1190103

Revision history for this message
Martin Trigaux (OpenERP) (mat-openerp) wrote :

The merge has been integrated into addons 7.0 at revision 9265.

Thanks for reporting

Changed in openobject-addons:
status: Fix Committed → Fix Released
Revision history for this message
Martin Trigaux (OpenERP) (mat-openerp) wrote :

Hello,

The merge of this patch was a mistake, we apology about this.
The patch influenced the domain in the search for the invoice lines menu to hide the zero lines. This had no reason to be done and we have reverted it. This was done at revision 9510.

Concerning the bug itself, it is wrong. The zero lines are needed to add the information about taxes. When you have more than one tax, the zero line is generated. This is to keep the information of every tax code used. We can not simply merge all the tax in only one account move line, we would lose information and tax reports would be wrong (legal problem).

I hope you understand why we do this and why we need to keep it. We know it's not clear but don't have (at the moment) better way to do it.

Regards

Changed in openobject-addons:
status: Fix Released → Invalid
Revision history for this message
Moisés López - http://www.vauxoo.com (moylop260) wrote :

Hello Martin,

I understand that the zero lines are needed to add the information about taxes.
But, You have wrong data in this lines with multiple-taxes.

Our real bug is next:
https://bugs.launchpad.net/openobject-addons/+bug/1190103/comments/4

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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