Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0034436Openbravo ERP07. Sales managementpublic2016-11-04 10:482016-11-11 12:56
ngarcia 
markmm82 
immediatemajoralways
closedfixed 
5
 
3.0PR16Q2.43.0PR16Q2.4 
aferraz
Core
Production - Confirmed Stable
2015-07-16
3.0PR15Q4
https://code.openbravo.com/erp/devel/pi/rev/8860b648abb2 [^]
No
0034436: 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.0PR16Q2.4
2016-11-11 12:56hgbotCheckin
2016-11-11 12:56hgbotNote Added: 0091397
2016-11-11 12:56hgbotStatusscheduled => resolved
2016-11-11 12:56hgbotResolutionopen => fixed
2016-11-11 12:56hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR16Q2.4/rev/edeb8facd85c6460f1f6b3e65483dfe122eb4e51 [^]
2016-11-11 12:56aferrazReview Assigned To => aferraz
2016-11-11 12:56aferrazNote Added: 0091398
2016-11-11 12:56aferrazStatusresolved => closed
2016-11-11 12:56aferrazFixed in Version => 3.0PR16Q2.4

Notes
(0091397)
hgbot   
2016-11-11 12:56   
Repository: erp/backports/3.0PR16Q2.4
Changeset: edeb8facd85c6460f1f6b3e65483dfe122eb4e51
Author: Mark <markmm82 <at> gmail.com>
Date: Mon Nov 07 16:43:46 2016 -0500
URL: http://code.openbravo.com/erp/backports/3.0PR16Q2.4/rev/edeb8facd85c6460f1f6b3e65483dfe122eb4e51 [^]

Fixes issue 34436: 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
---
(0091398)
aferraz   
2016-11-11 12:56   
Code review + Testing OK