Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0014890Openbravo ERP07. Sales managementpublic2010-10-18 09:342012-04-02 06:11
rafaroda 
vmromanos 
urgentmajoralways
closedfixed 
20Professional Appliance
pi 
 
Core
No
0014890: Voided financial invoice leads to non financial invoice
If you void a financial invoice, the reverse invoice created for voiding it is not a financial invoice, meaning that check-financial invoice line is not checked.
1) Create a sales invoice header
2) Create a financial invoice line, checking Financial invoice line check-box
3) Go back to the invoice header and Complete it.
4) Click on Re-activate button and select, Void.
5) Navigate to reverse invoice created: its lines have not the Financial invoice line check-box checked.
VMA-Reviewed
related to defect 0020011pi closed vmromanos Financial Invoices: Financial Invoice line checkbox and Account field not editable for completed invoices 
Issue History
2010-10-18 09:34rafarodaNew Issue
2010-10-18 09:34rafarodaAssigned To => adrianromero
2011-06-03 10:58dalsasuaAssigned Toadrianromero => dalsasua
2011-07-20 18:13dalsasuaAssigned Todalsasua => jonalegriaesarte
2011-09-18 17:48psarobePriorityhigh => urgent
2011-09-18 17:48psarobeStatusnew => scheduled
2011-09-18 17:48psarobeversionmain => pi
2012-02-15 19:04iciordiaAssigned Tojonalegriaesarte => vmromanos
2012-02-16 16:21vmromanosTag Attached: VMA-Reviewed
2012-03-13 15:56vmromanosRelationship addedrelated to 0020011
2012-03-13 17:30vmromanosNote Added: 0046363
2012-03-13 17:31vmromanosNote Edited: 0046363bug_revision_view_page.php?bugnote_id=0046363#r3271
2012-03-13 17:32vmromanosNote Edited: 0046363bug_revision_view_page.php?bugnote_id=0046363#r3272
2012-03-21 17:59hgbotCheckin
2012-03-21 17:59hgbotNote Added: 0046620
2012-03-21 17:59hgbotStatusscheduled => resolved
2012-03-21 17:59hgbotResolutionopen => fixed
2012-03-21 17:59hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/1ad70a79b4205ef8f0f4b65557e94775b7d6e083 [^]
2012-03-21 18:18eduardo_ArgalNote Added: 0046628
2012-03-21 18:18eduardo_ArgalStatusresolved => closed
2012-04-02 06:11hudsonbotCheckin
2012-04-02 06:11hudsonbotNote Added: 0047195

Notes
(0046363)
vmromanos   
2012-03-13 17:30   
(edited on: 2012-03-13 17:32)
No regression risk

Test plan:

1) Create a sales invoice header
2) Create a financial invoice line:
   2.1. checking Financial invoice line check-box (more information section)
   2.2. select a previously created GL item inside the Account field (The GL Item must be defined as "Enable is Financial invoices")
   2.3. Inside the net unit price field, introduce any amount
3) Complete the invoice
4) Click the Reactivate button and select "Void" and process it
5) A new sales invoice has been created. Navigate to it using the linked items section
6) Go to lines tab for the newly created invoice
7) Check the line has the Financial Invoice Line=Y
8) Check the line has the same Account as the voided invoice

(0046620)
hgbot   
2012-03-21 17:59   
Repository: erp/devel/pi
Changeset: 1ad70a79b4205ef8f0f4b65557e94775b7d6e083
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Tue Mar 13 17:35:48 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/1ad70a79b4205ef8f0f4b65557e94775b7d6e083 [^]

Fixed bug 14890: Voided financial invoice leads to non financial invoice
When voiding an invoice, the financial invoice line checkbox and
the Account field are kept in the new created invoice (reversed invoice)

---
M src-db/database/model/functions/C_INVOICE_POST.xml
---
(0046628)
eduardo_Argal   
2012-03-21 18:18   
testes and working fine
(0047195)
hudsonbot   
2012-04-02 06:11   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/7814864461ac [^]

Maturity status: Test