Openbravo Issue Tracking System - Retail Modules
View Issue Details
0041368Retail ModulesLayaway orderpublic2019-07-16 14:302020-01-31 16:25
plujan 
ranjith_qualiantech_com 
normalmajorhave not tried
closedfixed 
5
main 
RR19Q4 
guilleaer
No
0041368: [19Q3] Attempting to pay a Layaway results in the order being saved as a ticket
By performing a small (and apparently unrelated) change in the normal flow for a Layaway I've got the order to be saved as a regular ticket.

I attempted to close the ticket with a zero payment, having the layaway line set as "pick and carry". After this, I fixed the problem but instead of paying I laid it away. The ticket was then saved as a regular ticket.

See steps and attached screenshot.
Scenario A (working as expected):

1. From the main page of webPOS, add the product Alpine Ski Boot to the ticket.
2. From the top left menu set the ticket to be laid away.
3. Edit the ticket line to set the Delivery Mode as "Pick in store"
4. Tap the total amount to move to the pay window.
5. Tap three times the 50€ bank note button
6. Tap the "layaway" button. The ticket is closed successfully
7. From the top left menu, go to Open Receipt and look for the created ticket. It should be shown as "Layaway"


Scenario B (failing):

1. From the main page of webPOS, add the product Alpine Ski Boot to the ticket.
2. From the top left menu set the ticket to be laid away.
3. Tap the total amount to move to the pay window.
4. Tap the "Done" button to try to close the ticket with no payment.
5. An Appoval pop up is shown. Enter the credentials for Openbravo and click Approve.
6. An error is shown since the line in the ticket is Pick and Carry. Accept the message.
7. Edit the ticket line to set the Delivery Mode as "Pick in store"
8. Tap the total amount to move to the pay window.
9. Tap three times the 50€ bank note button
10. Tap the "layaway" button. The ticket is closed successfully
11. From the top left menu, go to Open Receipt and look for the created ticket. It is shown as "Receipt" when it should be "Layaway" instead.
No tags attached.
duplicate of defect 0041271 closed asiermartirena Layaways can generate shipments when the synchronization process have some failure 
png LayawayAsReceipt.png (15,839) 2019-07-16 14:30
https://issues.openbravo.com/file_download.php?file_id=13139&type=bug
png
Issue History
2019-07-16 14:30plujanNew Issue
2019-07-16 14:30plujanAssigned To => Retail
2019-07-16 14:30plujanFile Added: LayawayAsReceipt.png
2019-07-16 14:30plujanTriggers an Emergency Pack => No
2019-07-16 14:32plujanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=19143#r19143
2019-07-16 14:32plujanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=19144#r19144
2019-12-16 13:37ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2019-12-16 13:37ranjith_qualiantech_comNote Added: 0116345
2019-12-16 13:38ranjith_qualiantech_comNote Edited: 0116345bug_revision_view_page.php?bugnote_id=0116345#r19908
2020-01-07 15:14ranjith_qualiantech_comStatusnew => scheduled
2020-01-07 15:14ranjith_qualiantech_comNote Added: 0116671
2020-01-07 15:14ranjith_qualiantech_comStatusscheduled => resolved
2020-01-07 15:14ranjith_qualiantech_comResolutionopen => fixed
2020-01-31 16:25guilleaerRelationship addedduplicate of 0041271
2020-01-31 16:25guilleaerReview Assigned To => guilleaer
2020-01-31 16:25guilleaerStatusresolved => closed
2020-01-31 16:25guilleaerFixed in Version => RR19Q4

Notes
(0116345)
ranjith_qualiantech_com   
2019-12-16 13:37   
(edited on: 2019-12-16 13:38)
Fixed in https://issues.openbravo.com/view.php?id=41271 [^]
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/diff/d4e6fefdfdc0/web/org.openbravo.retail.posterminal/js/data/dataordersave.js [^]

(0116671)
ranjith_qualiantech_com   
2020-01-07 15:14   
Fixed in 19Q4