Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0034435Openbravo ERP07. Sales managementpublic2016-11-04 10:482016-11-11 12:56
ngarcia 
markmm82 
immediatemajoralways
closedfixed 
5
 
3.0PR16Q3.33.0PR16Q3.3 
aferraz
Core
Production - Confirmed Stable
2015-07-16
3.0PR15Q4
https://code.openbravo.com/erp/devel/pi/rev/8860b648abb2 [^]
No
0034435: Tax are duplicated in voided Sales Invoices if the original include a basic discount. Total Gross Amount does not match
Tax are duplicated in voided Sales Invoices if the original include a basic discount. Total Gross Amount does not match
As group admin role:
   Create a Sales Invoice, add a line and 'Descuento 10%' basic discount to it and complete it
   Void it
   Check two records are created in the tax tab of the automatically created invoice and that the total gross amount does not match the original total gross amount
No tags attached.
blocks defect 0034392 closed markmm82 Tax are duplicated in voided Sales Invoices if the original include a basic discount. Total Gross Amount does not match 
Issue History
2016-11-08 17:22markmm82Typedefect => backport
2016-11-08 17:22markmm82Target Version => 3.0PR16Q3.3
2016-11-11 12:55hgbotCheckin
2016-11-11 12:55hgbotNote Added: 0091395
2016-11-11 12:55hgbotStatusscheduled => resolved
2016-11-11 12:55hgbotResolutionopen => fixed
2016-11-11 12:55hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR16Q3.3/rev/58771c034b804a5cd9711188b13319bad4db26ba [^]
2016-11-11 12:56aferrazReview Assigned To => aferraz
2016-11-11 12:56aferrazNote Added: 0091396
2016-11-11 12:56aferrazStatusresolved => closed
2016-11-11 12:56aferrazFixed in Version => 3.0PR16Q3.3

Notes
(0091395)
hgbot   
2016-11-11 12:55   
Repository: erp/backports/3.0PR16Q3.3
Changeset: 58771c034b804a5cd9711188b13319bad4db26ba
Author: Mark <markmm82 <at> gmail.com>
Date: Mon Nov 07 16:43:46 2016 -0500
URL: http://code.openbravo.com/erp/backports/3.0PR16Q3.3/rev/58771c034b804a5cd9711188b13319bad4db26ba [^]

Fixes issue 34435: Avoid duplicated taxes in voided Sales Invoices if discounts

When taxes of the reversed invoice are created only manual taxes are taken into
account (reacalculate flag set as Y).

---
M src-db/database/model/functions/C_INVOICE_POST.xml
---
(0091396)
aferraz   
2016-11-11 12:56   
Code review + Testing OK