Openbravo Issue Tracking System - Retail Modules
View Issue Details
0042143Retail ModulesLayaway orderpublic2019-10-29 16:442021-11-18 12:57
normalmajorhave not tried
0042143: [19Q4] It is not possible to return cash for a Cancelled Layaway in more than one currency
I created a Layaway for 600€ and made two payments of 400€ and $100. On cancelling, I am only able to return 486€, when trying to return 400€ and $100 I receive a message "There is not enough cash available". See steps.

Check whether the issue is related with 0031153
0. Just to ensure the environment is clean, perform a Cashup in the terminal not keeping any cash.
1. Log in VB-1 terminal and create a receipt for 5 Avalanche Transceivers
2. Pick the menu option "Layaway this receipt"
3. Add 400€ and click "Layaway" button
4. Open the receipt and add $100 and click "Layaway" button
5. Open the receipt and click the "Cancel this layaway" menu option
6. The total amount is shown, but only in Euros.
7. Change the amount in Euros to 400.
8. Move to "USA Cash", notice the message "There is not enough cash available" even the terminal has literally just received the amount of cash required to perform the operation.
 * Attached fix proposal.*
No tags attached.
related to defect 0037812 scheduled Retail [RR18q1] Potential functional loop with returns and multiple currencies 
depends on defect 0031153 new Retail It is shown wrongly "There is not enough cash available" when doing a layaway with return lines. 
Not all the children of this issue are yet resolved or closed.
jpg WrongMessageLayaway.jpg (73,156) 2019-10-29 16:51

patch issue42143_cancel-layaway_posterminal.patch (5,588) 2021-11-18 12:51
Issue History
2019-10-29 16:44plujanNew Issue
2019-10-29 16:44plujanAssigned To => Retail
2019-10-29 16:44plujanTriggers an Emergency Pack => No
2019-10-29 16:51plujanFile Added: WrongMessageLayaway.jpg
2019-10-30 10:20plujanRelationship addeddepends on 0031153
2019-10-30 10:20plujanDescription Updatedbug_revision_view_page.php?rev_id=19585#r19585
2019-11-19 10:48ranjith_qualiantech_comRelationship addedrelated to 0037812
2021-10-14 11:42hgbotNote Added: 0132346
2021-11-15 13:08hgbotNote Added: 0133042
2021-11-18 12:51beatriz_lagoFile Added: issue42143_cancel-layaway_posterminal.patch
2021-11-18 12:52beatriz_lagoStatusnew => acknowledged
2021-11-18 12:54beatriz_lagoNote Deleted: 0132346
2021-11-18 12:54beatriz_lagoNote Deleted: 0133042
2021-11-18 12:55beatriz_lagoNote Added: 0133171
2021-11-18 12:55beatriz_lagoNote Deleted: 0133171
2021-11-18 12:56beatriz_lagoProposed Solution updated
2021-11-18 12:57beatriz_lagoProposed Solution updated

There are no notes attached to this issue.