Login  Register

[jira] [Created] (OFBIZ-4850) When Use Add Tax button on invoice summary, duplicate existed tax line

Posted by Nicolas Malin (Jira) on May 03, 2012; 10:02am
URL: http://ofbiz.116.s1.nabble.com/jira-Created-OFBIZ-4850-When-Use-Add-Tax-button-on-invoice-summary-duplicate-existed-tax-line-tp4605565.html

Nicolas Malin created OFBIZ-4850:
------------------------------------

             Summary: When Use Add Tax button  on invoice summary, duplicate existed tax line
                 Key: OFBIZ-4850
                 URL: https://issues.apache.org/jira/browse/OFBIZ-4850
             Project: OFBiz
          Issue Type: Bug
          Components: accounting
    Affects Versions: SVN trunk
            Reporter: Nicolas Malin
            Priority: Minor


When you click on "add tax" button on invoice summary, the service create a invoice item list and generate sale tax by list iterate.

Two problem :
 1. When you have 3 lignes with one without productId, the service may skip to set tax on valid invoice item
 2. If sale tax is present, the service duplicate it and generate a tax on the tax (since a productId is on the line).

I propose a patch to :
 1. remove all exiting tax associate to a product before analyze
 2. take only invoice item with a productId



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira