Openbravo Issue Tracking System - Retail Modules
View Issue Details
0042257Retail ModulesWeb POSpublic2019-10-18 14:462019-12-25 21:17
lorenzofidalgo 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
5
main 
RR19Q3.2RR19Q3.2 
guilleaer
Production - Confirmed Stable
2018-10-23
RR18Q4
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/file/88c0ef2e105d/web/org.openbravo.retail.posterminal/js/components/order.js#l1347 [^]
No
0042257: [RR19Q4][Cancel Layaway and New] POS gets stuck after deleting a product that has a dependent
Following specific flow using Cancel Layaway and New feature, web POS gets stuck after deleting a product that has a dependent service.

This issue has been found following this flow:
https://testlink.openbravo.com/testlink/linkto.php?tprojectPrefix=Communit&item=testcase&id=Communit-10917 [^]
Login to POS terminal, go to the login URL: http://{server}/{context}/web/org.openbravo.retail.posterminal/?terminal=VBS-1 [^]

Enter login credentials:
'Username': vallblanca
'Password': openbravo
The POS window will appear.
1. Click on 'SEARCH' tab
2. Search for 'Avalanche transceiver classic' and add to the recepit
3. Add the 'Phose consulting MK2' suggested service
4. Click on the 'CONTINUE' button
5. Click the 'Layaway this receipt' button on the menu
6. Click on the total amount button
7. Click on the 'Layaway' button
8. Click on the 'Open receipt' menu entry
9. Search for the last layaway
10. Click on 'Cancel this layaway' menu entry
11. Finish the cancel by clicking 'Done' button
12. Click on the 'OK' button
13. Select the 'Avalanche transceiver classic' product
14. Click on the 'Delete' button. DEFECT: POS gets suck.
No tags attached.
blocks defect 0042071 closed ranjith_qualiantech_com [RR19Q4][Cancel Layaway and New] POS gets stuck after deleting a product that has a dependent 
Issue History
2019-11-12 15:22ranjith_qualiantech_comTypedefect => backport
2019-11-12 15:22ranjith_qualiantech_comTarget Version => RR19Q3.2
2019-12-02 07:51hgbotCheckin
2019-12-02 07:51hgbotNote Added: 0116002
2019-12-02 07:51hgbotStatusscheduled => resolved
2019-12-02 07:51hgbotResolutionopen => fixed
2019-12-02 07:51hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR19Q3.2/org.openbravo.retail.posterminal/rev/cd7307ef969cdf89ead0852f41a0d24a3fd42a51 [^]
2019-12-25 21:17guilleaerReview Assigned To => guilleaer
2019-12-25 21:17guilleaerStatusresolved => closed
2019-12-25 21:17guilleaerFixed in Version => RR19Q3.2

Notes
(0116002)
hgbot   
2019-12-02 07:51   
Repository: retail/backports/3.0RR19Q3.2/org.openbravo.retail.posterminal
Changeset: cd7307ef969cdf89ead0852f41a0d24a3fd42a51
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Dec 02 12:21:17 2019 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR19Q3.2/org.openbravo.retail.posterminal/rev/cd7307ef969cdf89ead0852f41a0d24a3fd42a51 [^]

Fixed issue 42257 : Order hasServices should be updated when doing Cancel and New

---
M web/org.openbravo.retail.posterminal/js/components/order.js
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js
---