Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0035372
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajorhave not tried2017-02-27 21:072017-03-14 18:05
ReporterOsmanyView Statuspublic 
Assigned Tomario_castello 
PriorityhighResolutionfixedFixed in VersionRR17Q2
StatusclosedFix in branchFixed in SCM revision0d472be24373
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0035372: [SER-QA 2497] Overlapping popup appears in Web POS after paying with check duplicate.

DescriptionOverlapping popup appears in Web POS after paying with check duplicate.
Steps To ReproducePreconditions:
Install two modules:
org.openbravo.retail.digitalcoupons
org.openbravo.retail.chequecadeau

In Openbravo backoffice:
 * Go to Preference window
  - Create a new record for preference: "Web POS Close Drawer Before Continue". Value = 'Y', Selected = 'Y'.
  - Create another preference for: "WebPOS Synchronized Mode". Value = 'Y', Selected = 'Y'.
 * Go to POS Terminal Type window and search for "VBS POS Terminal Type". Go to Payment Method tab and make sure "Allow Open Drawer" is selected for 'Credit card' payment method.
 * Go to POS Terminal window and search "vbs-1" terminal. Configure Hardware URL = "http://localhost:8090/printer". [^]

1.- Log into WebPOS and open HWM
2.- Create a ticket and pay it using Payment Method(Is Digital Coupon)
     For have a Payment Method with Digital Coupon.
     1.Login ERP
     2.Navigate to POS Terminal Type window.
     3.Select record (VBS POS Terminal Type)
     4.Checked (Is Digital Coupon) in any Payment Method
3.- Introduce a manual check:
  * Barcode: 1234567890
  * Check Number: 1234567890
  * Amount: Total amount of the ticket
  * Expiration date: tomorrow
4.- Close the drawer and finalize the payment
5.- Create another ticket
6.- Create a manual check
  * Barcode: 1234567890
  * Check Number: 1234567890
  * Amount: Total amount of the ticket
  * Expiration date: tomorrow
7.- Try to pay it
8.- Realize that the message that the check has been used appears but the screen is blocked. This is why there is another pop up: close the drawer.
TagsSER-QA
Attached Filespatch file icon 7876.patch [^] (1,723 bytes) 2017-03-01 18:51 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0034838 closedranjith_qualiantech_com Green popup appears in Web POS after paying with overpayment 

-  Notes
(0094797)
hgbot (developer)
2017-03-07 15:29

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: c50398f7e239902ce9c0c4eb63776b7ddbaace86
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Wed Mar 01 11:43:29 2017 -0600
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c50398f7e239902ce9c0c4eb63776b7ddbaace86 [^]

Fixed issue 0035372: [SER-QA 2497] Overlapping popup appears in Web POS after paying with check duplicate.

- Create new event checkOpenDrawer to replaced the closed event when call the OpenDrawer
- Call the event checkOpenDrawer when the PreOrderSaveHook finish the execution
- The onclosed event is executed before the PreOrderSaveHook and if the hook failed it is unnecessary call the OpenDrawer

---
M web/org.openbravo.retail.posterminal/js/data/dataordersave.js
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js
---
(0094877)
marvintm (manager)
2017-03-09 13:38

It seems the multiorders flow was ignored when doing the change. I assume the checkOpenDrawer trigger must also be called in that flow.
(0094981)
hgbot (developer)
2017-03-13 16:19

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 0d472be24373a592fab66e5a8273654630ab55f3
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Fri Mar 10 11:38:07 2017 -0600
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0d472be24373a592fab66e5a8273654630ab55f3 [^]

Fixed issue 0035372: [SER-QA 2497] Overlapping popup appears in Web POS after paying with check duplicate.

- Replace the event onclosed in multiorder with the new event checkOpenDrawer
- Called the event checkOpenDrawer when all pending order have been processed

---
M web/org.openbravo.retail.posterminal/js/data/dataordersave.js
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js
---

- Issue History
Date Modified Username Field Change
2017-02-27 21:07 Osmany New Issue
2017-02-27 21:07 Osmany Assigned To => Retail
2017-02-27 21:07 Osmany Resolution time => 1489100400
2017-02-27 21:07 Osmany Triggers an Emergency Pack => No
2017-02-27 22:21 Osmany Relationship added related to 0034838
2017-02-28 12:13 jorge-garcia Resolution time 1489100400 => 1489359600
2017-02-28 13:04 adrianromero Tag Attached: SER-QA
2017-02-28 14:17 Osmany Steps to Reproduce Updated View Revisions
2017-03-01 14:52 mario_castello Assigned To Retail => mario_castello
2017-03-01 14:56 mario_castello Status new => acknowledged
2017-03-01 18:51 mario_castello File Added: 7876.patch
2017-03-01 18:51 mario_castello Status acknowledged => scheduled
2017-03-07 15:29 hgbot Checkin
2017-03-07 15:29 hgbot Note Added: 0094797
2017-03-07 15:29 hgbot Status scheduled => resolved
2017-03-07 15:29 hgbot Resolution open => fixed
2017-03-07 15:29 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c50398f7e239902ce9c0c4eb63776b7ddbaace86 [^]
2017-03-09 13:38 marvintm Note Added: 0094877
2017-03-09 13:38 marvintm Status resolved => new
2017-03-09 13:38 marvintm Resolution fixed => open
2017-03-09 15:32 mario_castello Status new => acknowledged
2017-03-09 15:32 mario_castello Status acknowledged => scheduled
2017-03-13 16:19 hgbot Checkin
2017-03-13 16:19 hgbot Note Added: 0094981
2017-03-13 16:19 hgbot Status scheduled => resolved
2017-03-13 16:19 hgbot Resolution open => fixed
2017-03-13 16:19 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c50398f7e239902ce9c0c4eb63776b7ddbaace86 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0d472be24373a592fab66e5a8273654630ab55f3 [^]
2017-03-14 18:05 marvintm Review Assigned To => marvintm
2017-03-14 18:05 marvintm Status resolved => closed
2017-03-14 18:05 marvintm Fixed in Version => RR17Q2


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker