Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0040488 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | always | 2019-03-29 08:25 | 2019-05-02 16:30 | |||
Reporter | jorge-garcia | View Status | public | |||||
Assigned To | javierRodriguez | |||||||
Priority | high | Resolution | fixed | Fixed in Version | RR19Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | b8a0023a34e7 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | marvintm | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0040488: It is possible to synchronize a ticket without lines and with payments | |||||||
Description | It is possible to synchronize a ticket without lines and with payments | |||||||
Steps To Reproduce | 1) 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 Solution | The 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). | |||||||
Tags | No tags attached. | |||||||
Attached Files | 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 |