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

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

Fixes issue 34434: 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
---
(0091394)
aferraz   
2016-11-11 12:55   
Code review + Testing OK