Openbravo Issue Tracking System - Modules
View Issue Details
0054641ModulesRemittancepublic2024-02-09 20:452024-03-08 11:11
axelmercado 
Triage Omni OMS 
immediatemajorsometimes
closedunable to reproduce 
5
 
 
0054641: Error in remittances in status "Liquidated in Remittance" and cancellation of invoices
The problem is very similar to the one reported in issue 52963, the difference is the remittance payment status.

In issue 52963 the payment status is "REM_SENT" and in this new case it is "REM_CANCEL" (Settled in Remittance).
Demo video: https://drive.google.com/file/d/1XLCflZ6kHqRNdAAP5t9-5KRZsB6wsQzu/view?usp=sharing [^]

With the basic remittance configuration provided in the wiki in the F&B client perform the following actions:
1 - Create an invoice in the 'Purchase Invoice' window with a remittance-capable payment method or 'Remittance' and complete it.
2 - In the 'Remittance" window, create a new remittance. Add the previously created invoice from the 'Select Orders or Invoices" button and process the remittance.
3 - Go to the invoice created, from the button 'Reactivate' proceed to cancel it, selecting the option "Void".
4 - Verify that a new cancellation invoice is created, it appears as paid when the original one is not. If we verify the details of your payments, we will find a payment in negative, if we browse it, we will see that the amount is 0 and a negative credit is generated that the business partner never gets.
No tags attached.
related to defect 0052963 closed jamie_reid Error in remittances and cancellation of invoices 
Issue History
2024-02-09 20:45axelmercadoNew Issue
2024-02-09 20:45axelmercadoAssigned To => Triage Omni OMS
2024-02-09 20:46axelmercadoRelationship addedrelated to 0052963
2024-02-28 18:40axelmercadoDescription Updatedbug_revision_view_page.php?rev_id=27610#r27610
2024-02-28 18:40axelmercadoSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=27612#r27612
2024-03-05 09:41psanjuanNote Added: 0161648
2024-03-05 09:42psanjuanNote Deleted: 0161648
2024-03-05 09:50psanjuanNote Added: 0161649
2024-03-05 09:51psanjuanNote Edited: 0161649bug_revision_view_page.php?bugnote_id=0161649#r27628
2024-03-05 10:20psanjuanNote Edited: 0161649bug_revision_view_page.php?bugnote_id=0161649#r27629
2024-03-05 11:27psanjuanNote Edited: 0161649bug_revision_view_page.php?bugnote_id=0161649#r27630
2024-03-06 18:12aferrazSeveritycritical => major
2024-03-08 10:59kousalya_rNote Added: 0161882
2024-03-08 11:11aferrazStatusnew => closed
2024-03-08 11:11aferrazResolutionopen => unable to reproduce

Notes
(0161649)
psanjuan   
2024-03-05 09:50   
(edited on: 2024-03-05 11:27)
Proposed solution:

As any other payment method waiting to be executed it will not be possible to directly void an invoice included in a remittance.

Openbravo will show an error message saying that the remittance in which the invoice is include needs to be either settled or protested.
Once that action is executed, it will be possible to void that invoice.

If an invoice with status "Liquidado en Remesa" requires to be voided, it will be possible, but the relationship of it with the payment which was made will remain, because that invoice was paid.

On the other hand, the void one will remain as pending to be paid, because that one is the one that needs to be refunded to the supplier.

(0161882)
kousalya_r   
2024-03-08 10:59   
https://drive.google.com/file/d/1zY5m9-ogjTCFyhcv-Wtl6sxrGvcNywgD/view?usp=drive_link [^]

Cannot reproduce the issue.
Negative payment is not created for voided invoice.