[
https://issues.apache.org/jira/browse/OFBIZ-4850?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nicolas Malin reassigned OFBIZ-4850:
------------------------------------
Assignee: Nicolas Malin
> 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: Trunk
> Reporter: Nicolas Malin
> Assignee: Nicolas Malin
> Priority: Minor
> Attachments: OFBIZ-4850.patch
>
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)