Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021041Openbravo ERP07. Sales managementpublic2012-07-12 13:292012-07-13 09:58
mirurita 
mirurita 
immediatemajoralways
closedfixed 
20Community Appliance
pi 
3.0MP133.0MP13 
Core
No
0021041: When voiding a sales invoice (using Prices Including taxes) "Gross Unit Price" and "Line Gross Amount" are 0
When voiding a sales invoice (using Prices Including taxes) "Gross Unit Price" and "Line Gross Amount" are 0.
1. Enter as F&B Internation Group Admin role
2. Go to Price List window
3. Edit "Tarifa de Ventas" record by marking it as Including Taxes
4. Go to Sales Invoice window
5. Create a new document for "Alimentos y Supermercados" business partner
6. Create a new line for "Agua sin gas 1L"
8. Enter a discount of 10%
9. Complete the invoice
10. Gross Unit Price and Line Gross Amount fields on sales invoice lines contain correct values.
11. VOID the invoice
12. Go to the created reversal invoice
13. Realize that the total gross amount of the header is = 0
This is because the "Gross Unit Price" and "Line Gross Amount" fields haven't inherited the values from the original invoice.
Inherit "Gross Unit Price" and "Line Gross Amount" values from the original sales invoice.
No tags attached.
png void sales invoice.png (79,326) 2012-07-12 13:29
https://issues.openbravo.com/file_download.php?file_id=5413&type=bug
png
Issue History
2012-07-12 13:29miruritaNew Issue
2012-07-12 13:29miruritaAssigned To => mirurita
2012-07-12 13:29miruritaFile Added: void sales invoice.png
2012-07-12 13:29miruritaModules => Core
2012-07-12 13:49hgbotCheckin
2012-07-12 13:49hgbotNote Added: 0050531
2012-07-12 13:49hgbotStatusnew => resolved
2012-07-12 13:49hgbotResolutionopen => fixed
2012-07-12 13:49hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/d7ccce4b613169e9b40cc5df74e9e78bf62e8e0d [^]
2012-07-13 09:58psarobeNote Added: 0050550
2012-07-13 09:58psarobeStatusresolved => closed
2012-07-13 09:58psarobeFixed in Version => 3.0MP13

Notes
(0050531)
hgbot   
2012-07-12 13:49   
Repository: erp/devel/pi
Changeset: d7ccce4b613169e9b40cc5df74e9e78bf62e8e0d
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Thu Jul 12 13:47:38 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/d7ccce4b613169e9b40cc5df74e9e78bf62e8e0d [^]

Fixes issue 21041: void SI (with PIT) gross fields not inherited

---
M src-db/database/model/functions/C_INVOICE_POST.xml
---
(0050550)
psarobe   
2012-07-13 09:58   
works fine