Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0033492Openbravo ERP03. Procurement managementpublic2016-07-18 12:372016-08-01 12:00
psanjuan 
Sanjota 
urgentmajoralways
scheduledopen 
20Professional Appliance
 
 
Core
No
0033492: Not possible to pay a void invoice if voided one has been already paid.
Not possible to pay a void invoice if voided one has been already paid.
Go to Purchase Invoice window.
Create a new one for F&B España, Bebidas Alegres BP.
Go to Lines tab. Choose any product. Complete and post the invoice.

Pay the invoice by using the process button on the top "Add Payment".
Verify that the purchase invoice is now showing Payment Complete = Yes.

Once done, void the invoice by using the process button on the top "Reactivate". Choose the option Void. Press OK.

Check that void invoice number is shown in the Description field of the invoice being voided. Navigate to that new one.

Verify there is no option to pay that invoice but just Post it.
Add Payment button is not shown.

See image attached.
It should be possible to pay a void invoice regardless original invoice being voided is already paid.
No tags attached.
related to defect 0034322 closed rqueralta Payment of 0 amount created when voiding an unpaid invoice is created in Awaiting Execution status 
png Issue_33492.png (123,288) 2016-07-18 14:57
https://issues.openbravo.com/file_download.php?file_id=9632&type=bug
png
Issue History
2016-07-18 12:37psanjuanNew Issue
2016-07-18 12:37psanjuanAssigned To => Triage Finance
2016-07-18 12:37psanjuanModules => Core
2016-07-18 12:37psanjuanTriggers an Emergency Pack => No
2016-07-18 14:50psanjuanNote Added: 0088554
2016-07-18 14:50psanjuanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=12666#r12666
2016-07-18 14:50psanjuanProposed Solution updated
2016-07-18 14:56psanjuanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=12667#r12667
2016-07-18 14:57psanjuanFile Added: Issue_33492.png
2016-07-29 14:18SanjotaAssigned ToTriage Finance => Sanjota
2016-07-29 14:18SanjotaStatusnew => scheduled
2016-08-01 12:00SanjotaNote Added: 0088708
2016-11-18 12:41psanjuanRelationship addedrelated to 0034322

Notes
(0088554)
psanjuan   
2016-07-18 14:50   
This scenario is working OK for Sales.
(0088708)
Sanjota   
2016-08-01 12:00   
Test plan:
Go to Purchase Invoice window.
Create a new one for F&B España, Bebidas Alegres BP.
Go to Lines tab. Choose any product. Complete and post the invoice.

Pay the invoice by using the process button on the top "Add Payment".
Verify that the purchase invoice is now showing Payment Complete = Yes.

Once done, void the invoice by using the process button on the top "Reactivate". Choose the option Void. Press OK.

Check that void invoice number is shown in the Description field of the invoice being voided. Navigate to that new one.

Observe that, there is "Add payment" button displayed to pay that invoice along with post button.