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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0040488
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2019-03-29 08:252019-05-02 16:30
Reporterjorge-garciaView Statuspublic 
Assigned TojavierRodriguez 
PriorityhighResolutionfixedFixed in VersionRR19Q3
StatusclosedFix in branchFixed in SCM revisionb8a0023a34e7
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

0040488: It is possible to synchronize a ticket without lines and with payments

DescriptionIt is possible to synchronize a ticket without lines and with payments
Steps To Reproduce1) Log in WebPOS
2) Create a new empty ticket
3) Go to menu and click on option "Layaway this receipt"
4) Go to Browse and add an Avalanche Transceiver. Check the total is 150.50
5) Click on total button and add a Payment with Card of 100€. Layaway button is showing and is enabled.
6) Click on "Avalanche Transceiver" line of the ticket and click "Delete" from Edit tab. Verify total button is 0.00 and it is enabled (this is OK).
7) Click on total button and verify Layaway button is showing and enabled (this is wrong).
8) Click on Layaway button and verify an overpayment popup is shown. Click on "OK" button from the popup and verify the ticket is synchronized. (this is wrong too)
9) Login in ERP and go to Sales Order. Verify the ticket is created without lines and with a payment associated.
Proposed SolutionThe solution could be separate in two parts:

  - The first step is to hide Layaway button in case there is no lines on the ticket.

  - The second step is to avoid any action from Layaway button in case the receipt has no lines (security check).
TagsNo tags attached.
Attached Filesdiff file icon indexOutOfBound_partialFix.diff [^] (2,214 bytes) 2019-03-29 08:29 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0110911)
jorge-garcia (reporter)
2019-03-29 08:30

Added diff for second step from proposed solution
(0111257)
javierRodriguez (developer)
2019-04-24 10:46

https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b8a0023a34e7 [^]
(0111440)
hgbot (developer)
2019-05-02 16:30

Repository: tools/automation/pi-mobile
Changeset: 36280f320756d2c96b12cef0fc5bca9a2516b97e
Author: Alejandro <alekosmp86 <at> gmail.com>
Date: Tue Apr 30 15:45:04 2019 -0400
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/36280f320756d2c96b12cef0fc5bca9a2516b97e [^]

Related to issue 40488: added automated test

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I40488_VerifyTicketWithoutLinesCannotBeSynchronized.java
---

- Issue History
Date Modified Username Field Change
2019-03-29 08:25 jorge-garcia New Issue
2019-03-29 08:25 jorge-garcia Assigned To => Retail
2019-03-29 08:25 jorge-garcia Resolution time => 1555624800
2019-03-29 08:25 jorge-garcia Triggers an Emergency Pack => No
2019-03-29 08:29 jorge-garcia File Added: indexOutOfBound_partialFix.diff
2019-03-29 08:30 jorge-garcia Note Added: 0110911
2019-03-29 08:40 ngarcia Issue Monitored: ngarcia
2019-03-29 11:45 javierRodriguez Assigned To Retail => javierRodriguez
2019-04-24 10:46 javierRodriguez Note Added: 0111257
2019-04-24 10:47 javierRodriguez Status new => scheduled
2019-04-24 10:47 javierRodriguez Status scheduled => resolved
2019-04-24 10:47 javierRodriguez Resolution open => fixed
2019-04-24 10:47 javierRodriguez Fixed in SCM revision => https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b8a0023a34e7 [^]
2019-04-26 08:47 marvintm Review Assigned To => marvintm
2019-04-26 08:47 marvintm Status resolved => closed
2019-04-26 08:47 marvintm Fixed in Version => RR19Q3
2019-05-02 16:30 hgbot Checkin
2019-05-02 16:30 hgbot Note Added: 0111440


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker