Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
Error on total open balance when void POS Order with Cash Payment Rule
Description
When the order is voided, the system create reversion of the invoice and payment and reverse allocation of original payment, and in that point is when we get wrong open balace with the amount of payment reversed.
Step to recreate: Create an Pos order with Payment Rule: CASH, Complete order, Void Order, Execute Validate Business Partner
1.- It create a payment for the reversal document 2.- It does not reverse the original payment created automatically when completeIt
Carlos Ruiz August 19, 2015 at 6:41 PM
@Eduardo Gil, I committed a fix - can you please help with some tests?
Eduardo Gil August 18, 2015 at 11:14 PM
Edited
Hi @Carlos Ruiz. Attach i put the a patch for your evaluation to solve the problem when reverse orders with payment rule cash. There was really 2 problems all of them was in MInvoice:
1. The system did not controled that the payment was created automatically and void the allocation related to the invoice and payment but not reverse the payment.
2. When the reversal document is created apply the same rule if paymentRule was cash create a payment and also create an allocation with the original document and the reversal document, allocating twice the reversal document.
When the order is voided, the system create reversion of the invoice and payment and reverse allocation of original payment, and in that point is when we get wrong open balace with the amount of payment reversed.
Step to recreate: Create an Pos order with Payment Rule: CASH, Complete order, Void Order, Execute Validate Business Partner
More details here https://groups.google.com/forum/#!searchin/idempiere/pos/idempiere/fUeoFfKusPA/PRTixSjgM4sJ