[Voucher] - Clicking Pay button in newly posted voucher results to 'Transaction is already posted' message.

Issue No: AP-9222
Created 10/7/2020 1:19:00 AM
Type Bug-QC
Priority Critical
Status Closed
Resolution Fixed
Fixed Version 19.1
Description *Steps* :   1. Create DM > Post   2. Create voucher > Save > Post   3. Once 'Do you want to apply prepaid?' message appears, click No   4. Post   5. Pay (issue #1)   6. Once message appears, just click OK   7. Click Refresh (issue #2)         *Issue* :   #1   !pastedImage_d145475_0.png|height=371,width=580!     #2   !pastedImage_d145475_1.png|height=382,width=565!   record gets locked       *Accepted* :   #1   Message should not appear   Payment should be created     #2   Record should refresh and not get locked